Struct ArCameraConfigFilter
Used to filter the set of camera configurations returned by XRCameraSubsystem.GetConfigurations.
Inherited Members
Namespace: UnityEngine.XR.ARCore
Assembly: solution.dll
Syntax
public struct ArCameraConfigFilter : IDisposable, IEquatable<ArCameraConfigFilter>
Constructors
Name | Description |
---|---|
ArCameraConfigFilter(ArSession) | Creates a new, default-constructed ArCameraConfigFilter. |
Properties
Name | Description |
---|---|
IsNull | (Read Only) Indicates whether this ArCameraConfigFilter is |
Null | (Read Only) Represents a null ArCameraConfigFilter, i.e., one whose underlying native pointer
is |
Methods
Name | Description |
---|---|
AsIntPtr() | Gets the underlying native pointer for this ArCameraConfigFilter. |
Dispose() | Destroys this ArCameraConfigFilter and sets the underlying native pointer to |
Equals(object) | Tests for equality. |
Equals(ArCameraConfigFilter) | Tests for equality. |
FromIntPtr(IntPtr) | Creates an ArCameraConfigFilter from an existing native pointer. The native pointer must point to an existing ArCameraConfigFilter. |
GetDepthSensorUsage(ArSession) | Gets the desired depth sensor usages to allow. |
GetHashCode() | Generates a hash code suitable for use with a |
GetTargetFps(ArSession) | Gets the desired frame rates to allow. |
SetDepthSensorUsage(ArSession, ArCameraConfigDepthSensorUsage) | Sets the desired depth sensor usages to allow. |
SetTargetFps(ArSession, ArCameraConfigTargetFps) | Sets the desired frame rates to allow. |
Operators
Name | Description |
---|---|
operator ==(ArCameraConfigFilter?, ArCameraConfigFilter?) | Tests for equality. |
operator ==(ArCameraConfigFilter, ArCameraConfigFilter) | Tests for equality. Same as Equals(ArCameraConfigFilter). |
explicit operator IntPtr(ArCameraConfigFilter) | Casts an ArCameraConfigFilter to its underlying native pointer. |
operator !=(ArCameraConfigFilter?, ArCameraConfigFilter?) | Tests for inequality. |
operator !=(ArCameraConfigFilter, ArCameraConfigFilter) | Tests for inequality. Same as the negation of Equals(ArCameraConfigFilter). |