CollisionGrid2d.Add Method

Add a reference to a poly to the grid. The poly may be open or closed, or a single point. Empty polys are ignored. Open polys are treated as thin walls. Closed CCW polys are treated as obstacles (filled contours). Closed CW polys are treated as holes. Note: modifying the added poly results in undefined behaviour! That is: to maximize performance, polys are NOT copied!
Public Sub Add( _ 
ByVal poly As Poly2d
)
This language is not supported or no code example is available.
public void Add( 
Poly2d poly 
)
This language is not supported or no code example is available.
public:  
void Add( 
Poly2d^ poly 
)
This language is not supported or no code example is available.
public function Add( 
poly : Poly2d 
);
This language is not supported or no code example is available.

Parameters

poly
Poly2d

.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