class_csgprimitive.rst 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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:`GeometryInstance<class_GeometryInstance>` **<** :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. Base class for CSG primitives.
  11. Properties
  12. ----------
  13. +-------------------------+---------------------------------------------------------------+-----------+
  14. | :ref:`bool<class_bool>` | :ref:`invert_faces<class_CSGPrimitive_property_invert_faces>` | ``false`` |
  15. +-------------------------+---------------------------------------------------------------+-----------+
  16. Property Descriptions
  17. ---------------------
  18. .. _class_CSGPrimitive_property_invert_faces:
  19. - :ref:`bool<class_bool>` **invert_faces**
  20. +-----------+-------------------------+
  21. | *Default* | ``false`` |
  22. +-----------+-------------------------+
  23. | *Setter* | set_invert_faces(value) |
  24. +-----------+-------------------------+
  25. | *Getter* | is_inverting_faces() |
  26. +-----------+-------------------------+
  27. Invert the faces of the mesh.