Struct ARCoreBeforeGetCameraConfigurationEventArgs
Event arguments for the before
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 |
---|---|
Ar |
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 |
---|---|
Ar |
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 |
---|---|---|
ARCore |
other | The other ARCore |
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(ARCore
Declaration
public static bool operator ==(ARCoreBeforeGetCameraConfigurationEventArgs lhs, ARCoreBeforeGetCameraConfigurationEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARCore |
lhs | The ARCore |
ARCore |
rhs | The ARCore |
Returns
Type | Description |
---|---|
bool | Returns |
operator !=(ARCoreBeforeGetCameraConfigurationEventArgs, ARCoreBeforeGetCameraConfigurationEventArgs)
Tests for inequality. Same as !
Equals(ARCore
Declaration
public static bool operator !=(ARCoreBeforeGetCameraConfigurationEventArgs lhs, ARCoreBeforeGetCameraConfigurationEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARCore |
lhs | The ARCore |
ARCore |
rhs | The ARCore |
Returns
Type | Description |
---|---|
bool | Returns |