SphereColliderShape Class
Namespace: Stride.PhysicsAssembly: Stride.Physics.dll
Derived from SphereColliderShape:
public class SphereColliderShape : ColliderShape, IDisposable
Name | Description | |
---|---|---|
Constructors | ||
SphereColliderShape(Boolean, Single) | Initializes a new instance of the SphereColliderShape class. |
|
Fields | ||
Radius | ||
Methods | ||
CreateDebugPrimitive(GraphicsDevice) |
Constructors
SphereColliderShape(Boolean, Single)
Initializes a new instance of the SphereColliderShape class.
public SphereColliderShape(bool is2D, float radiusParam)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | is2D | if set to |
System.Single | radiusParam |
Fields
Radius
public readonly float Radius
Field Value
Type | Description |
---|---|
System.Single |
Methods
CreateDebugPrimitive(GraphicsDevice)
public override MeshDraw CreateDebugPrimitive(GraphicsDevice device)
Parameters
Type | Name | Description |
---|---|---|
GraphicsDevice | device |
Returns
Type | Description |
---|---|
MeshDraw |