docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ARCoreBeforeGetCameraConfigurationEventArgs

    Event arguments for the beforeGetCameraConfiguration event.

    Implements
    IEquatable<ARCoreBeforeGetCameraConfigurationEventArgs>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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 object to compare against.

    Returns
    Type Description
    bool

    Returns true if obj is of type ARCoreBeforeGetCameraConfigurationEventArgs and Equals(ARCoreBeforeGetCameraConfigurationEventArgs) also returns true. Returns false otherwise.

    Overrides
    ValueType.Equals(object)

    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 true if every property in other is equal to this ARCoreBeforeGetCameraConfigurationEventArgs. Returns false otherwise.

    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
    ValueType.GetHashCode()

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

    ARCoreBeforeGetCameraConfigurationEventArgs rhs

    The ARCoreBeforeGetCameraConfigurationEventArgs to compare with lhs.

    Returns
    Type Description
    bool

    Returns true if lhs is equal to rhs according to Equals(ARCoreBeforeGetCameraConfigurationEventArgs). Returns false otherwise.

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

    ARCoreBeforeGetCameraConfigurationEventArgs rhs

    The ARCoreBeforeGetCameraConfigurationEventArgs to compare with lhs.

    Returns
    Type Description
    bool

    Returns false if lhs is equal to rhs according to Equals(ARCoreBeforeGetCameraConfigurationEventArgs). Returns true otherwise.

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)