docs.unity.cn
    Show / Hide Table of Contents

    Method GetEntityDataPtrRO

    GetEntityDataPtrRO(EntityTypeHandle)

    Provides an unsafe read-only interface to array of Entities stored in this chunk.

    Declaration
    public readonly Entity*GetEntityDataPtrRO(EntityTypeHandle entityTypeHandle)
    Parameters
    Type Name Description
    EntityTypeHandle entityTypeHandle

    An object containing type and job safety information. To create this object, call GetEntityTypeHandle(). Pass the object to a job using a public field you define as part of the job struct.

    Returns
    Type Description
    Entity*

    A pointer to the component data stored in the chunk.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023