class_csgprimitive.rst 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the CSGPrimitive.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_CSGPrimitive:
  5. CSGPrimitive
  6. ============
  7. **Inherits:** :ref:`CSGShape<class_CSGShape>` **<** :ref:`VisualInstance<class_VisualInstance>` **<** :ref:`Spatial<class_Spatial>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  8. **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>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. Base class for CSG primitives.
  13. Properties
  14. ----------
  15. +-------------------------+------------------------------------------------------+
  16. | :ref:`bool<class_bool>` | :ref:`invert_faces<class_CSGPrimitive_invert_faces>` |
  17. +-------------------------+------------------------------------------------------+
  18. Property Descriptions
  19. ---------------------
  20. .. _class_CSGPrimitive_invert_faces:
  21. - :ref:`bool<class_bool>` **invert_faces**
  22. +----------+-------------------------+
  23. | *Setter* | set_invert_faces(value) |
  24. +----------+-------------------------+
  25. | *Getter* | is_inverting_faces() |
  26. +----------+-------------------------+
  27. Invert the faces of the mesh.