docs.unity.cn
    Show / Hide Table of Contents

    Struct BlobArray.Accessor<T>

    Generic accessor.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Physics
    Syntax
    public struct Accessor<T>
        where T : struct
    Type Parameters
    Name Description
    T

    Generic type parameter.

    Constructors

    Accessor(ref BlobArray)

    Constructor.

    Declaration
    public Accessor(ref BlobArray blobArray)
    Parameters
    Type Name Description
    BlobArray blobArray

    [in,out] Array of blobs.

    Properties

    Item[Int32]

    Indexer to get items within this collection using array index syntax.

    Declaration
    public readonly ref T this[int index] { get; }
    Parameters
    Type Name Description
    Int32 index

    Zero-based index of the entry to access.

    Property Value
    Type Description
    T

    The indexed item.

    Length

    Gets the length.

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

    The length.

    Methods

    GetEnumerator()

    Gets the enumerator.

    Declaration
    public BlobArray.Accessor<T>.Enumerator GetEnumerator()
    Returns
    Type Description
    BlobArray.Accessor.Enumerator<>

    The enumerator.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023