ドキュメント

Unity Engine

Download Unity

Unity Engine

GetChunkComponentDataRW<T>(ref ComponentTypeHandle<T>)

Gets a reference to the value of a chunk component for read-write access.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

GetChunkComponentDataRW<T>(ComponentTypeHandle<T>)

public readonly ref T GetChunkComponentDataRW<T>(ref ComponentTypeHandle<T> typeHandle) where T : struct

Parameters

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

Returns

Type

Description

TA reference to the chunk component value.