docs.unity3d.com
    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>
    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 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<>
    Implements
    IEnumerator<T>.Current

    Methods

    Dispose()

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

    MoveNext()

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

    Reset()

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

    Explicit Interface Implementations

    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