Table of Contents

Class BoxColliderShape

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

Constructors

BoxColliderShape(bool, Vector3)

Initializes a new instance of the BoxColliderShape class.

public BoxColliderShape(bool is2D, Vector3 size)

Parameters

is2D bool

If this cube is a 2D quad

size Vector3

The size of the cube

Fields

BoxSize

public readonly Vector3 BoxSize

Field Value

Vector3

Methods

CreateDebugPrimitive(GraphicsDevice)

public override MeshDraw CreateDebugPrimitive(GraphicsDevice device)

Parameters

device GraphicsDevice

Returns

MeshDraw