Documentation

Unity Engine

Unity Engine

ScheduleParallelForTransformReadOnly(ref JobScheduleParameters, IntPtr, int)

Schedules an IJobParallelForTransform job with read-only access to the transform data.
Read time 1 minuteLast updated 2 months ago

Definition

ScheduleParallelForTransformReadOnly(JobScheduleParameters, IntPtr, int)

public static JobHandle ScheduleParallelForTransformReadOnly(ref JobsUtility.JobScheduleParameters parameters, IntPtr transfromAccesssArray, int innerloopBatchCount)

Parameters


transfromAccesssArray


innerloopBatchCount

Returns

Type

Description

JobHandleA JobHandle to the new job.

Remarks

This method provides better parallelization because it can read all transforms in parallel instead of just parallelizing across transforms in different hierarchies.