On this page
CSGBox
Inherits: CSGPrimitive < CSGShape < GeometryInstance < VisualInstance < Spatial < Node < Object
A CSG Box shape.
Description
This node allows you to create a box for use with the CSG system.
Properties
Property Descriptions
float depth
Default |
|
Setter |
set_depth(value) |
Getter |
get_depth() |
Depth of the box measured from the center of the box.
float height
Default |
|
Setter |
set_height(value) |
Getter |
get_height() |
Height of the box measured from the center of the box.
Material material
Setter |
set_material(value) |
Getter |
get_material() |
The material used to render the box.
float width
Default |
|
Setter |
set_width(value) |
Getter |
get_width() |
Width of the box measured from the center of the box.
© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_csgbox.html