docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MutableRuntimeReferenceImageLibrary.Enumerator

    An enumerator to be used in a foreach statement.

    Implements
    IEquatable<MutableRuntimeReferenceImageLibrary.Enumerator>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    Syntax
    public struct MutableRuntimeReferenceImageLibrary.Enumerator : IEquatable<MutableRuntimeReferenceImageLibrary.Enumerator>

    Properties

    Current

    The current XRReferenceImage.

    Declaration
    public XRReferenceImage Current { get; }
    Property Value
    Type Description
    XRReferenceImage

    Methods

    Dispose()

    Disposes of the enumerator. This method does nothing.

    Declaration
    public void Dispose()

    Equals(object)

    Compares for equality.

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

    The object to compare against.

    Returns
    Type Description
    bool

    true if obj is of type MutableRuntimeReferenceImageLibrary.Enumerator and Equals(Enumerator) is true.

    Overrides
    ValueType.Equals(object)

    Equals(Enumerator)

    Compares for equality.

    Declaration
    public bool Equals(MutableRuntimeReferenceImageLibrary.Enumerator other)
    Parameters
    Type Name Description
    MutableRuntimeReferenceImageLibrary.Enumerator other

    The other enumerator to compare against.

    Returns
    Type Description
    bool

    true if the other enumerator is equal to this one.

    GetHashCode()

    Generates a hash code suitable for use in a Dictionary or HashSet.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code of this Enumerator.

    Overrides
    ValueType.GetHashCode()

    MoveNext()

    Moves to the next element in the collection.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    bool

    true if Current is valid after this call.

    Operators

    operator ==(Enumerator, Enumerator)

    Compares for equality.

    Declaration
    public static bool operator ==(MutableRuntimeReferenceImageLibrary.Enumerator lhs, MutableRuntimeReferenceImageLibrary.Enumerator rhs)
    Parameters
    Type Name Description
    MutableRuntimeReferenceImageLibrary.Enumerator lhs

    The left-hand side of the comparison.

    MutableRuntimeReferenceImageLibrary.Enumerator rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    The same as Equals(Enumerator).

    operator !=(Enumerator, Enumerator)

    Compares for inequality.

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

    The left-hand side of the comparison.

    MutableRuntimeReferenceImageLibrary.Enumerator rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    The negation of Equals(Enumerator).

    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)