Box shape resource.
    public class BoxShape : Shape

3D box shape that can be a child of a PhysicsBody or Area.

Inheritance Chain

Constructors

    public BoxShape()

Properties

    public Vector3 Extents { get; set; }

The box’s half extents. The width, height and depth of this shape is twice the half extents.

Methods

    [Obsolete("GetExtents is deprecated. Use the Extents property instead.")]
    public Vector3 GetExtents()

Getter for Extents

    [Obsolete("SetExtents is deprecated. Use the Extents property instead.")]
    public void SetExtents(Vector3 extents)

Setter for Extents

Tags: