Struct ARCoreBeforeGetCameraConfigurationEventArgs
Event arguments for the beforeGetCameraConfiguration event.
Inherited Members
Namespace: UnityEngine.XR.ARCore
Assembly: Unity.XR.ARCore.dll
Syntax
public struct ARCoreBeforeGetCameraConfigurationEventArgs : IEquatable<ARCoreBeforeGetCameraConfigurationEventArgs>
Properties
filter
Represents a native pointer to the ArCameraConfigFilter which is used to filter the results of a call to ArSession_getSupportedCameraConfigsWithFilter
Declaration
public readonly ArCameraConfigFilter filter { get; }
Property Value
Type | Description |
---|---|
ArCameraConfigFilter | The filter object used to select eligible device cameras. |
session
Represents a native pointer to an ArSession
Declaration
public readonly ArSession session { get; }
Property Value
Type | Description |
---|---|
ArSession | The current session object. |
Methods
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The |
Returns
Type | Description |
---|---|
bool | Returns |
Overrides
Equals(ARCoreBeforeGetCameraConfigurationEventArgs)
Tests for equality.
Declaration
public bool Equals(ARCoreBeforeGetCameraConfigurationEventArgs other)
Parameters
Type | Name | Description |
---|---|---|
ARCoreBeforeGetCameraConfigurationEventArgs | other | The other ARCoreBeforeGetCameraConfigurationEventArgs to compare against. |
Returns
Type | Description |
---|---|
bool | Returns |
GetHashCode()
Generates a hash suitable for use with containers like HashSet
and Dictionary
.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | Returns a hash code generated from this object's fields. |
Overrides
Operators
operator ==(ARCoreBeforeGetCameraConfigurationEventArgs, ARCoreBeforeGetCameraConfigurationEventArgs)
Tests for equality. Same as Equals(ARCoreBeforeGetCameraConfigurationEventArgs).
Declaration
public static bool operator ==(ARCoreBeforeGetCameraConfigurationEventArgs lhs, ARCoreBeforeGetCameraConfigurationEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARCoreBeforeGetCameraConfigurationEventArgs | lhs | The ARCoreBeforeGetCameraConfigurationEventArgs to compare with |
ARCoreBeforeGetCameraConfigurationEventArgs | rhs | The ARCoreBeforeGetCameraConfigurationEventArgs to compare with |
Returns
Type | Description |
---|---|
bool | Returns |
operator !=(ARCoreBeforeGetCameraConfigurationEventArgs, ARCoreBeforeGetCameraConfigurationEventArgs)
Tests for inequality. Same as !
Equals(ARCoreBeforeGetCameraConfigurationEventArgs).
Declaration
public static bool operator !=(ARCoreBeforeGetCameraConfigurationEventArgs lhs, ARCoreBeforeGetCameraConfigurationEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARCoreBeforeGetCameraConfigurationEventArgs | lhs | The ARCoreBeforeGetCameraConfigurationEventArgs to compare with |
ARCoreBeforeGetCameraConfigurationEventArgs | rhs | The ARCoreBeforeGetCameraConfigurationEventArgs to compare with |
Returns
Type | Description |
---|---|
bool | Returns |