Struct ARCoreBeforeGetCameraConfigurationEventArgs
Event arguments for the beforeGetCameraConfiguration event.
Namespace: UnityEngine.XR.ARCore
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 ArCameraConfigFilter filter { readonly get; }
Property Value
Type | Description |
---|---|
ArCameraConfigFilter |
session
Represents a native pointer to an ArSession
Declaration
public ArSession session { readonly get; }
Property Value
Type | Description |
---|---|
ArSession |
Methods
Equals(Object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The |
Returns
Type | Description |
---|---|
Boolean | 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 |
---|---|
Boolean | Returns |
GetHashCode()
Generates a hash suitable for use with containers like HashSet
and Dictionary
.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | Returns a hash code generated from this object's fields. |
Overrides
Operators
Equality(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 |
---|---|
Boolean | Returns |
Inequality(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 |
---|---|
Boolean | Returns |