docs.unity3d.com
Search Results for

    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.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    public struct BlobArray.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

    this[int]

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

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

    Zero-based index of the entry to access.

    Property Value
    Type Description
    T

    The indexed item.

    Length

    Gets the length.

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

    The length.

    Methods

    GetEnumerator()

    Gets the enumerator.

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

    The enumerator.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)