CSGPrimitive

Inherits: CSGShape < GeometryInstance < VisualInstance < 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.

Properties

bool invert_faces false

Property Descriptions

bool invert_faces

Default false
Setter set_invert_faces(value)
Getter is_inverting_faces()

Invert the faces of the mesh.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_csgprimitive.html