Polygon |
The PolygonShape type exposes the following members.
| Name | Description | |
|---|---|---|
| ChildCount | (Overrides ShapeChildCount) | |
| Density |
Gets or sets the density.
Changing the density causes a recalculation of shape properties.
(Inherited from Shape) | |
| Normals | ||
| Radius |
Radius of the Shape
Changing the radius causes a recalculation of shape properties.
(Inherited from Shape) | |
| ShapeType |
Get the type of this shape.
(Inherited from Shape) | |
| Vertices | Create a convex hull from the given array of local points. The number of vertices must be in the range [3, Settings.MaxPolygonVertices]. Warning: the points may be re-ordered, even if they form a convex polygon Warning: collinear points are handled but not removed. Collinear points may lead to poor stacking behavior. |