godot/modules/csg/doc_classes/CSGPrimitive3D.xml

19 lines
1013 B
XML
Raw Normal View History

2018-05-12 07:38:00 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="CSGPrimitive3D" inherits="CSGShape3D" version="4.0">
2018-05-12 07:38:00 +00:00
<brief_description>
Base class for CSG primitives.
2018-05-12 07:38:00 +00:00
</brief_description>
<description>
2020-01-23 06:12:52 +00:00
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 [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.
2018-05-12 07:38:00 +00:00
</description>
<tutorials>
<link title="Prototyping levels with CSG">$DOCS_URL/tutorials/3d/csg_tools.html</link>
2018-05-12 07:38:00 +00:00
</tutorials>
<members>
<member name="invert_faces" type="bool" setter="set_invert_faces" getter="is_inverting_faces" default="false">
Invert the faces of the mesh.
2018-05-12 07:38:00 +00:00
</member>
</members>
</class>