docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ARKitWhiteBalanceRange

    Represents the minimum and maximum supported white balance gain values.

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

    Properties

    maximumGain

    Maximum supported white balance gain value.

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

    minimumGain

    Minimum supported white balance gain value.

    Declaration
    public float minimumGain { 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 ARKitWhiteBalanceRange and it compares equal to this one using Equals(ARKitWhiteBalanceRange). Otherwise, false.

    Overrides
    ValueType.Equals(object)

    Equals(ARKitWhiteBalanceRange)

    Tests for equality.

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

    The ARKitWhiteBalanceRange to compare against.

    Returns
    Type Description
    bool

    true if the underlying white balance gain range are the same. Otherwise, false.

    Remarks

    Two ARKitWhiteBalanceRanges are considered equal if their underlying minimum gain, and maximum gain 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 ARKitWhiteBalanceRange.

    Overrides
    ValueType.GetHashCode()

    ToString()

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

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string representation of this ARKitWhiteBalanceRange.

    Overrides
    ValueType.ToString()

    Operators

    operator ==(ARKitWhiteBalanceRange, ARKitWhiteBalanceRange)

    Tests for equality. Same as Equals(ARKitWhiteBalanceRange).

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

    The ARKitWhiteBalanceRange to compare with rhs.

    ARKitWhiteBalanceRange rhs

    The ARKitWhiteBalanceRange to compare with lhs.

    Returns
    Type Description
    bool

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

    operator !=(ARKitWhiteBalanceRange, ARKitWhiteBalanceRange)

    Tests for inequality. Equivalent to the negation of Equals(ARKitWhiteBalanceRange).

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

    The ARKitWhiteBalanceRange to compare with rhs.

    ARKitWhiteBalanceRange rhs

    The ARKitWhiteBalanceRange to compare with lhs.

    Returns
    Type Description
    bool

    false if lhs is equal to rhs using Equals(ARKitWhiteBalanceRange). 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)