docs.unity3d.com
    目次を表示する/隠す

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

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)