docs.unity.cn
    Show / Hide Table of Contents

    Struct BlobBuilderArray<T>

    Used by the BlobBuilder methods to reference the arrays within a blob asset.

    Namespace: Unity.Entities
    Syntax
    public ref struct BlobBuilderArray<T>
        where T : struct
    Type Parameters
    Name Description
    T

    The data type of the elements in the array.

    Remarks

    Use this reference to initialize the data of a newly created BlobArray<T>.

    Constructors

    Name Description
    BlobBuilderArray(Void*, Int32)

    For internal, BlobBuilder, use only.

    Properties

    Name Description
    Item[Int32]

    Array index accessor for the elements in the array.

    Length

    Reports the number of elements in the array.

    Methods

    Name Description
    GetUnsafePtr()

    Provides a pointer to the data stored in the array.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use