ドキュメント

Unity Engine

Download Unity

Unity Engine

GetEntityDataPtrRO(EntityTypeHandle)

Provides an unsafe read-only interface to array of Entities stored in this chunk.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public readonly Entity* GetEntityDataPtrRO(EntityTypeHandle entityTypeHandle)

Parameters

entityTypeHandle

An object containing type and job safety information. To create this object, call ComponentSystemBase.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.