docs.unity3d.com
    Show / Hide Table of Contents

    Struct MutableRuntimeReferenceImageLibrary.Enumerator

    An enumerator to be used in a foreach statement.

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

    Properties

    Current

    The current XRReferenceImage.

    Declaration
    public readonly 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
    Boolean

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

    Overrides
    ValueType.Equals(Object)

    Equals(MutableRuntimeReferenceImageLibrary.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
    Boolean

    true if the other enumerator is equal to this one.

    Implements
    IEquatable<T>.Equals(T)

    GetHashCode()

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

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    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
    Boolean

    true if Current is valid after this call.

    Operators

    Equality(MutableRuntimeReferenceImageLibrary.Enumerator, MutableRuntimeReferenceImageLibrary.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
    Boolean

    The same as Equals(MutableRuntimeReferenceImageLibrary.Enumerator).

    Inequality(MutableRuntimeReferenceImageLibrary.Enumerator, MutableRuntimeReferenceImageLibrary.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
    Boolean

    The negation of Equals(MutableRuntimeReferenceImageLibrary.Enumerator).

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023