CSGPrimitive¶
Inherits: CSGShape < GeometryInstance < VisualInstance < CullInstance < Spatial < Node < Object
Inherited By: CSGBox, CSGCylinder, CSGMesh, CSGPolygon, CSGSphere, CSGTorus
Base class for CSG primitives.
Description¶
Parent class for various CSG primitives. It contains code and functionality that is common between them. It cannot be used directly. Instead use one of the various classes that inherit from it.
Note: CSG nodes are intended to be used for level prototyping. Creating CSG nodes has a significant CPU cost compared to creating a MeshInstance with a PrimitiveMesh. Moving a CSG node within another CSG node also has a significant CPU cost, so it should be avoided during gameplay.
Tutorials¶
Properties¶
|
Property Descriptions¶
bool invert_faces = false
Invert the faces of the mesh.