Struct BlobPtr<T> | Entities | 0.7.0-preview.19
docs.unity3d.com
    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

    Value

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

    Declaration
    public T Value { get; }
    Property Value
    Type Description
    T
    Remarks

    The property is a reference return.

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown if the pointer does not reference a valid instance of a data type.

    Methods

    GetUnsafePtr()

    Provides an unsafe pointer to the referenced data.

    Declaration
    public void *GetUnsafePtr()
    Returns
    Type Description
    Void*

    An unsafe pointer.

    Remarks

    You can only use unsafe pointers in contexts.

    See Also

    BlobBuilder
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX