CSGBox

Inherits: CSGPrimitive < CSGShape < GeometryInstance < VisualInstance < CullInstance < Spatial < Node < Object

A CSG Box shape.

Description

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

Properties

float

depth

2.0

float

height

2.0

Material

material

float

width

2.0

Property Descriptions

Default

2.0

Setter

set_depth(value)

Getter

get_depth()

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


Default

2.0

Setter

set_height(value)

Getter

get_height()

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


Setter

set_material(value)

Getter

get_material()

The material used to render the box.


Default

2.0

Setter

set_width(value)

Getter

get_width()

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