Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


simulationWorkers

Get/Set the simulation worker count for the world. A single simulation worker is always used for simulation therefore a worker count of one means single thread simulation only. The actual quantity of workers used will always be capped to those available on the current device and reading the property will return the number of workers actually being used by the device. Changing the worker count continuously is not recommend and will impact performance as it requires the task queue be recreated. See PhysicsWorld.simulationWorkers.
Read time 1 minuteLast updated 10 days ago

Definition

public int simulationWorkers { readonly get; set; }