pandemonium_engine/modules/csg/doc_classes/CSGPrimitive.xml

23 lines
1.0 KiB
XML
Raw Normal View History

2023-07-11 11:00:55 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-10-12 01:59:32 +02:00
<class name="CSGPrimitive" inherits="CSGShape" version="4.2">
2023-07-11 11:00:55 +02:00
<brief_description>
Base class for CSG primitives.
</brief_description>
<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.
[b]Note:[/b] 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.
</description>
<tutorials>
2023-08-29 22:33:15 +02:00
<link title="Prototyping levels with CSG">$DOCS_URL/tutorials/3d/csg_tools.md</link>
2023-07-11 11:00:55 +02:00
</tutorials>
<methods>
</methods>
<members>
<member name="invert_faces" type="bool" setter="set_invert_faces" getter="is_inverting_faces" default="false">
Invert the faces of the mesh.
</member>
</members>
<constants>
</constants>
</class>