docs.unity.cn
    Show / Hide Table of Contents

    Class SampleEnumerator<T>

    Enumerates all (SdfPath,Sample) pairs for a given path set and sample type.

    Inheritance
    Object
    SampleEnumerator<T>
    Namespace: USD.NET
    Syntax
    public class SampleEnumerator<T> : IEnumerator<SampleEnumerator<T>.SampleHolder>, IDisposable, IEnumerator where T : SampleBase, new()
    Type Parameters
    Name Description
    T

    Constructors

    SampleEnumerator(Scene, SdfPath[])

    Declaration
    public SampleEnumerator(Scene scene, SdfPath[] paths)
    Parameters
    Type Name Description
    Scene scene
    SdfPath[] paths

    Properties

    Current

    Declaration
    public SampleEnumerator<T>.SampleHolder Current { get; }
    Property Value
    Type Description
    SampleEnumerator.SampleHolder<>

    Methods

    Dispose()

    Declaration
    public void Dispose()

    MoveNext()

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    Boolean

    Reset()

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