Method CreateSphere
CreateSphere(in float)
Creates mass properties of a sphere with the provided radius, centered on the origin.
Declaration
public static MassProperties CreateSphere(in float radius)
Parameters
| Type | Name | Description |
|---|---|---|
| float | radius | Sphere radius. |
Returns
| Type | Description |
|---|---|
| MassProperties | Mass properties of the sphere. |