Execute(int, TransformAccess)
Performs work against a specific iteration index and transform.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Jobs
- Assembly: UnityEngine.CoreModule
void Execute(int index, TransformAccess transform)
Parameters
The index of the ParallelForTransform loop at which to perform work. This corresponds to the index of the transform in the job's input TransformAccessArray which should be processed by this call.
The position, rotation and scale of the transforms passed into the job.
Examples
{code Tests/EditModeAndPlayModeTests/Jobs/Assets/DocumentationExamples/TransformJobDocExamples.cs#ijobparallelfortransform-apidocs-example}