docs.unity.cn
    Show / Hide Table of Contents

    Class RangeIterator

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

    Inheritance
    Object
    RangeIterator
    Namespace: USD.NET
    Syntax
    public class RangeIterator : IEnumerable<UsdPrim>, IEnumerable, IEnumerator<UsdPrim>, IDisposable, IEnumerator

    Constructors

    RangeIterator(UsdPrimRange)

    Declaration
    public RangeIterator(UsdPrimRange range)
    Parameters
    Type Name Description
    UsdPrimRange range

    Properties

    Current

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

    Methods

    Dispose()

    Declaration
    public virtual void Dispose()

    GetEnumerator()

    Declaration
    public IEnumerator<UsdPrim> GetEnumerator()
    Returns
    Type Description
    IEnumerator<UsdPrim>

    IsPostVisit()

    Indicates if this is the post-visit pass of a pre- and post-traversal iteration. https://github.com/PixarAnimationStudios/USD/blob/master/pxr/usd/lib/usd/primRange.h#L157

    Declaration
    public bool IsPostVisit()
    Returns
    Type Description
    Boolean

    MoveNext()

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    Boolean

    PruneChildren()

    Prunes all childeren below the current prim. https://github.com/PixarAnimationStudios/USD/blob/master/pxr/usd/lib/usd/primRange.h#L162

    Declaration
    public void PruneChildren()

    Reset()

    Declaration
    public void Reset()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, June 23, 2023