docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ArCameraConfigFilter

    Used to filter the set of camera configurations returned by XRCameraSubsystem.GetConfigurations.

    Implements
    IDisposable
    IEquatable<ArCameraConfigFilter>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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. This property is deprecated. Use the equality operator (==) to compare with null instead.

    Null

    (Read Only) Represents a null ArCameraConfigFilter, i.e., one whose underlying native pointer is null. This property is deprecated. Use default instead.

    Methods

    Name Description
    AsIntPtr()

    Gets the underlying native pointer for this ArCameraConfigFilter.

    Dispose()

    Destroys this ArCameraConfigFilter and sets the underlying native pointer to null.

    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 HashSet or Dictionary

    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).

    See Also

    beforeGetCameraConfiguration
    ARCoreBeforeGetCameraConfigurationEventArgs
    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023