Table of Contents

Class SphereColliderShape

Namespace
Stride.Physics
Assembly
Stride.Physics.dll
public class SphereColliderShape : ColliderShape, IDisposable
Inheritance
SphereColliderShape
Implements
Inherited Members
Extension Methods

Constructors

SphereColliderShape(bool, float)

Initializes a new instance of the SphereColliderShape class.

public SphereColliderShape(bool is2D, float radiusParam)

Parameters

is2D bool

if set to true [is2 d].

radiusParam float

Fields

Radius

public readonly float Radius

Field Value

float

Methods

CreateDebugPrimitive(GraphicsDevice)

public override MeshDraw CreateDebugPrimitive(GraphicsDevice device)

Parameters

device GraphicsDevice

Returns

MeshDraw