A CSG Box shape.
    public class CSGBox : CSGPrimitive

This node allows you to create a box for use with the CSG system.

Inheritance Chain

Constructors

    public CSGBox()

Properties

    public float Depth { get; set; }

Depth of the box measured from the center of the box.

    public float Height { get; set; }

Height of the box measured from the center of the box.

    public Material Material { get; set; }

The material used to render the box.

    public float Width { get; set; }

Width of the box measured from the center of the box.

Methods

    public float GetDepth()

Getter for Depth

    public float GetHeight()

Getter for Height

    public Material GetMaterial()

Getter for Material

    public float GetWidth()

Getter for Width

    public void SetDepth(float depth)

Setter for Depth

    public void SetHeight(float height)

Setter for Height

    public void SetMaterial(Material material)

Setter for Material

    public void SetWidth(float width)

Setter for Width

Tags: