docs.unity.cn
    Show / Hide Table of Contents

    Struct BlobPtr<T>

    A pointer referencing a struct, array, or field inside a blob asset.

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

    The data type of the referenced object.

    Properties

    Name Description
    IsValid

    Returns 'true' if this is a valid pointer (not null)

    Value

    The value, of type T to which the pointer refers.

    Methods

    Name Description
    GetUnsafePtr()

    Provides an unsafe pointer to the referenced data.

    See Also

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