Inheritance #

CSGBox3D
Table of contents

CSGBox3D #

is_instantiable, Node3D, Node, core, not_builtin_classes

A CSG Box shape.

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

Note: CSG nodes are intended to be used for level prototyping. Creating CSG nodes has a significant CPU cost compared to creating a MeshInstance3D with a PrimitiveMesh. Moving a CSG node within another CSG node also has a significant CPU cost, so it should be avoided during gameplay.

Members #

var material: Material#

The material used to render the box.

var size: Vector3 = Vector3(1, 1, 1)#

The box's width, height and depth.

Methods #

Annotations #

Constants #

Constructors #

Enums #

Operators #

Signals #

Theme Items #

Tutorials #