Parameter | Description |
---|---|
vertices | The vertices to use. |
radius | The radius to use. |
PolygonGeometry The created geometry.
Create a Polygon from the specified vertices. The number of vertices must be in the range 3 to PhysicsConstants.MaxPolygonVertices.
Parameter | Description |
---|---|
vertices | The vertices to use. |
radius | The radius to use. |
transform | The transform used to specify where the geometry is positioned. |
PolygonGeometry The created geometry.
Create a Polygon from the specified vertices. The number of vertices must be in the range 3 to PhysicsConstants.MaxPolygonVertices.
Parameter | Description |
---|---|
vertices | The vertices to use. |
radius | The radius to use. |
transform | The transform used to specify where the geometry is positioned. |
PolygonGeometry The created geometry.
Create a Polygon from the specified vertices. The number of vertices must be in the range 3 to PhysicsConstants.MaxPolygonVertices.