| 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.
| Parameter | Description |
|---|---|
| convexHull | The convex hull to create the polygon from. |
| radius | The radius to use. |
PolygonGeometry The created geometry.
Create a Polygon from the specified convex hull.