Click or drag to resize

PolygonShape Properties

The PolygonShape type exposes the following members.

Properties
 NameDescription
Public propertyChildCount
(Overrides ShapeChildCount)
Public propertyDensity Gets or sets the density. Changing the density causes a recalculation of shape properties.
(Inherited from Shape)
Public propertyNormals 
Public propertyRadius Radius of the Shape Changing the radius causes a recalculation of shape properties.
(Inherited from Shape)
Public propertyShapeType Get the type of this shape.
(Inherited from Shape)
Public propertyVertices 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.
Top
See Also