Files
godot-docs/classes/class_csgprimitive.rst
T

47 lines
1.6 KiB
ReStructuredText

:github_url: hide
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the CSGPrimitive.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_CSGPrimitive:
CSGPrimitive
============
**Inherits:** :ref:`CSGShape<class_CSGShape>` **<** :ref:`GeometryInstance<class_GeometryInstance>` **<** :ref:`VisualInstance<class_VisualInstance>` **<** :ref:`Spatial<class_Spatial>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
**Inherited By:** :ref:`CSGBox<class_CSGBox>`, :ref:`CSGCylinder<class_CSGCylinder>`, :ref:`CSGMesh<class_CSGMesh>`, :ref:`CSGPolygon<class_CSGPolygon>`, :ref:`CSGSphere<class_CSGSphere>`, :ref:`CSGTorus<class_CSGTorus>`
**Category:** Core
Brief Description
-----------------
Base class for CSG primitives.
Properties
----------
+-------------------------+---------------------------------------------------------------+-------+
| :ref:`bool<class_bool>` | :ref:`invert_faces<class_CSGPrimitive_property_invert_faces>` | false |
+-------------------------+---------------------------------------------------------------+-------+
Property Descriptions
---------------------
.. _class_CSGPrimitive_property_invert_faces:
- :ref:`bool<class_bool>` **invert_faces**
+-----------+-------------------------+
| *Default* | false |
+-----------+-------------------------+
| *Setter* | set_invert_faces(value) |
+-----------+-------------------------+
| *Getter* | is_inverting_faces() |
+-----------+-------------------------+
Invert the faces of the mesh.