Documentation

Unity Engine

Download Unity

Unity Engine

capacity

The expected world capacities used to presize internal allocations when the PhysicsWorld is created. All counts default to zero, in which case the engine uses its own minimum defaults. Presizing avoids reallocations during the first simulation steps for worlds with a known object count. Every count
Read time 1 minuteLast updated 10 hours ago

Definition

public PhysicsWorld.WorldCapacity capacity { readonly get; set; }

Remarks