commands | A NativeArray of the RaycastCommands to perform. |
commands | A NativeArray of the RaycastHits where the results of the commands are stored. |
minCommandsPerJob | The minimum number of jobs which should be performed in a single job. |
dependsOn | A JobHandle of a job which must be completed before the raycast starts. |
JobHandle The JobHandle of the job which will perform the raycasts.
Schedule a batch of raycasts which are performed in a job.
Did you find this page useful? Please give it a rating: