Version: 2022.3

IJobParallelForTransformExtensions

class in UnityEngine.Jobs

切换到手册

描述

IJobParallelForTransform 的扩展方法。

静态函数

EarlyJobInitGathers and caches reflection data for the internal job system's managed bindings. Unity is responsible for calling this method - don't call it yourself.
RunReadOnlyRun an IJobParallelForTransform job with read-only access to the transform data. This method makes the job run on the calling thread instead of spreading it out over multiple threads.
RunReadOnlyByRefRun an IJobParallelForTransform job with read-only access to the transform data. This method makes the job run on the calling thread instead of spreading it out over multiple threads.
ScheduleSchedule an IJobParallelForTransform job with read-write access to the transform data. This method parallelizes access to transforms in different hierarchies. Transforms with a shared root object are always processed on the same thread.
ScheduleByRefSchedule an IJobParallelForTransform job with read-write access to the transform data. This method parallelizes access to transforms in different hierarchies. Transforms with a shared root object are always processed on the same thread.
ScheduleReadOnlySchedule an IJobParallelForTransform job with read-only access to the transform data. This method provides better parallelization because it can read all transforms in parallel instead of just parallelizing over different hierarchies.
ScheduleReadOnlyByRefSchedule an IJobParallelForTransform job with read-only access to the transform data. This method provides better parallelization because it can read all transforms in parallel instead of just parallelizing over different hierarchies.