docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ARKitExposureRange

    Represents the minimum and maximum supported exposure duration and ISO values.

    Implements
    IEquatable<ARKitExposureRange>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.ARKit
    Assembly: Unity.XR.ARKit.dll
    Syntax
    public struct ARKitExposureRange : IEquatable<ARKitExposureRange>

    Properties

    maximumDuration

    Maximum supported exposure duration in seconds with sub-millisecond precision.

    Declaration
    public double maximumDuration { get; }
    Property Value
    Type Description
    double

    maximumIso

    Maximum supported exposure ISO value.

    Declaration
    public float maximumIso { get; }
    Property Value
    Type Description
    float

    minimumDuration

    Minimum supported exposure duration in seconds with sub-millisecond precision.

    Declaration
    public double minimumDuration { get; }
    Property Value
    Type Description
    double

    minimumIso

    Minimum supported exposure ISO value.

    Declaration
    public float minimumIso { get; }
    Property Value
    Type Description
    float

    Methods

    Equals(object)

    Tests for equality.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    An object to compare against.

    Returns
    Type Description
    bool

    true if obj is an ARKitExposureRange and is equal to this instance using Equals(ARKitExposureRange).

    Overrides
    ValueType.Equals(object)

    Equals(ARKitExposureRange)

    Tests for equality.

    Declaration
    public bool Equals(ARKitExposureRange other)
    Parameters
    Type Name Description
    ARKitExposureRange other

    The ARKitExposureRange to compare against.

    Returns
    Type Description
    bool

    true if the duration range and ISO range are the same. Otherwise, false.

    Remarks

    Two ARKitExposureRanges are considered equal if their minimum duration, maximum duration, minimum ISO, and maximum ISO values are equal.

    GetHashCode()

    Generates a hash code suitable for use with a HashSet or Dictionary

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for this ARKitExposureRange.

    Overrides
    ValueType.GetHashCode()

    ToString()

    Generates a string representation of this ARKitExposureRange suitable for debugging purposes.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string representation of this ARKitExposureRange.

    Overrides
    ValueType.ToString()

    Operators

    operator ==(ARKitExposureRange, ARKitExposureRange)

    Tests for equality. Same as Equals(ARKitExposureRange).

    Declaration
    public static bool operator ==(ARKitExposureRange lhs, ARKitExposureRange rhs)
    Parameters
    Type Name Description
    ARKitExposureRange lhs

    The ARKitExposureRange to compare with rhs.

    ARKitExposureRange rhs

    The ARKitExposureRange to compare with lhs.

    Returns
    Type Description
    bool

    true if lhs is equal to rhs using Equals(ARKitExposureRange). Otherwise, false.

    operator !=(ARKitExposureRange, ARKitExposureRange)

    Tests for inequality. Same as the negation of Equals(ARKitExposureRange).

    Declaration
    public static bool operator !=(ARKitExposureRange lhs, ARKitExposureRange rhs)
    Parameters
    Type Name Description
    ARKitExposureRange lhs

    The ARKitExposureRange to compare with rhs.

    ARKitExposureRange rhs

    The ARKitExposureRange to compare with lhs.

    Returns
    Type Description
    bool

    false if lhs is equal to rhs using Equals(ARKitExposureRange). Otherwise, true.

    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)