class_csgprimitive.rst 1.4 KB

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