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

    [Obsolete("GetDepth is deprecated. Use the Depth property instead.")]
    public float GetDepth()

Getter for Depth

    [Obsolete("GetHeight is deprecated. Use the Height property instead.")]
    public float GetHeight()

Getter for Height

    [Obsolete("GetMaterial is deprecated. Use the Material property instead.")]
    public Material GetMaterial()

Getter for Material

    [Obsolete("GetWidth is deprecated. Use the Width property instead.")]
    public float GetWidth()

Getter for Width

    [Obsolete("SetDepth is deprecated. Use the Depth property instead.")]
    public void SetDepth(float depth)

Setter for Depth

    [Obsolete("SetHeight is deprecated. Use the Height property instead.")]
    public void SetHeight(float height)

Setter for Height

    [Obsolete("SetMaterial is deprecated. Use the Material property instead.")]
    public void SetMaterial(Material material)

Setter for Material

    [Obsolete("SetWidth is deprecated. Use the Width property instead.")]
    public void SetWidth(float width)

Setter for Width

Tags: