CollisionGrid2d(Extents2d, Int32) Constructor

Create an acceleration grid given an estimation of the number of adds to be performed. If size ~= the square root of the estimation, the number of rows and columns is distributed according to the aspect ratio of the grid extents, using the value of 'size' (multiplied by a magic number).
public CollisionGrid2d( 
   Extents2d extents
   int estimatedAdds 
)

Parameters

extents
Extents2d

estimatedAdds
int

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition