Table of Contents

Class CSGBox3D

A CSG Box shape.

Inheritance
CSGBox3D

Remarks

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.

See Also

Properties

material

The material used to render the box.

var material : Material

Property Value

Material

Remarks

size

The box's width, height and depth.

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

Property Value

Vector3

Remarks