docs.unity3d.com
    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 { 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
    • 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 18 October 2023