Property InitialColliderBufferSize
InitialColliderBufferSize
The Estimated Max Number of Colliders to expect per cell. This number is used to pre-allocate an array of Colliders in order to take advantage of the OverlapBoxNonAlloc Physics API. If the number of colliders found is >= InitialColliderBufferSize the array will be resized to double its current size. The hard coded absolute size is 500. Note that changing this after the sensor is created has no effect.
Declaration
public int InitialColliderBufferSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |