docs.unity3d.com
    Show / Hide Table of Contents

    Class SampleCollection<T>

    Provides custom enumeration over an SdfPathVector to avoid generation of garbage.

    Inheritance
    Object
    SampleCollection<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 SampleCollection<T> : IEnumerable<SampleEnumerator<T>.SampleHolder>, IEnumerable where T : SampleBase, new()
    Type Parameters
    Name Description
    T

    Constructors

    SampleCollection(Scene, SdfPathVector)

    Declaration
    public SampleCollection(Scene scene, SdfPathVector paths)
    Parameters
    Type Name Description
    Scene scene
    SdfPathVector paths

    Properties

    Length

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    Int32

    Methods

    GetEnumerator()

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

    Explicit Interface Implementations

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    IEnumerator
    Implements
    IEnumerable.GetEnumerator()
    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