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 Sub New( _ 
ByVal extents As Extents2d, _ 
ByVal estimatedAdds As Integer
)
This language is not supported or no code example is available.
public CollisionGrid2d( 
Extents2d extents
int estimatedAdds 
)
This language is not supported or no code example is available.
public:  
CollisionGrid2d( 
Extents2d^ extents
int estimatedAdds 
)
This language is not supported or no code example is available.
public function CollisionGrid2d( 
extents : Extents2d
estimatedAdds : int 
);
This language is not supported or no code example is available.

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