ドキュメント

Unity Engine

Download Unity

Unity Engine

RunByRef<T>(ref T, EntityQuery)

Runs the job immediately on the current thread.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

RunByRef<T>(T, EntityQuery)

public static void RunByRef<T>(this ref T jobData, EntityQuery query) where T : struct, IJobChunk

Parameters

jobData

T
An IJobChunk instance. In this variant, the jobData is passed by reference, which may be necessary for unusually large job structs.

The query selecting chunks with the necessary components.