docs.unity3d.com
    Show / Hide Table of Contents

    Class SubtreeIterator

    Convenience class to convert a UsdPrimSubtreeRange into something easily enumerable. Note that UsdPrimSubtreeRange returns an instance of this class to implement IEnumerable.

    Inheritance
    Object
    SubtreeIterator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: USD.NET
    Syntax
    public class SubtreeIterator : IEnumerable<UsdPrim>, IEnumerable, IEnumerator<UsdPrim>, IDisposable, IEnumerator

    Constructors

    SubtreeIterator(UsdPrimSubtreeRange)

    Declaration
    public SubtreeIterator(UsdPrimSubtreeRange range)
    Parameters
    Type Name Description
    UsdPrimSubtreeRange range

    Properties

    Current

    Declaration
    public UsdPrim Current { get; }
    Property Value
    Type Description
    UsdPrim
    Implements
    IEnumerator<T>.Current

    Methods

    Dispose()

    Declaration
    public virtual void Dispose()
    Implements
    IDisposable.Dispose()

    GetEnumerator()

    Declaration
    public IEnumerator<UsdPrim> GetEnumerator()
    Returns
    Type Description
    IEnumerator<UsdPrim>
    Implements
    IEnumerable<T>.GetEnumerator()

    MoveNext()

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    Boolean
    Implements
    IEnumerator.MoveNext()

    Reset()

    Declaration
    public void Reset()
    Implements
    IEnumerator.Reset()

    Explicit Interface Implementations

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    IEnumerator
    Implements
    IEnumerable.GetEnumerator()

    IEnumerator.Current

    Declaration
    object IEnumerator.Current { get; }
    Returns
    Type Description
    Object
    Implements
    IEnumerator.Current
    Back to top
    Copyright © 2023 Unity Technologies
    • 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 Thursday, October 19, 2023