class_csgbox.rst 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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 CSGBox.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_CSGBox:
  6. CSGBox
  7. ======
  8. **Inherits:** :ref:`CSGPrimitive<class_CSGPrimitive>` **<** :ref:`CSGShape<class_CSGShape>` **<** :ref:`VisualInstance<class_VisualInstance>` **<** :ref:`Spatial<class_Spatial>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. A CSG Box shape.
  13. Properties
  14. ----------
  15. +---------------------------------+-------------------------------------------------+
  16. | :ref:`float<class_float>` | :ref:`depth<class_CSGBox_property_depth>` |
  17. +---------------------------------+-------------------------------------------------+
  18. | :ref:`float<class_float>` | :ref:`height<class_CSGBox_property_height>` |
  19. +---------------------------------+-------------------------------------------------+
  20. | :ref:`Material<class_Material>` | :ref:`material<class_CSGBox_property_material>` |
  21. +---------------------------------+-------------------------------------------------+
  22. | :ref:`float<class_float>` | :ref:`width<class_CSGBox_property_width>` |
  23. +---------------------------------+-------------------------------------------------+
  24. Description
  25. -----------
  26. This node allows you to create a box for use with the CSG system.
  27. Property Descriptions
  28. ---------------------
  29. .. _class_CSGBox_property_depth:
  30. - :ref:`float<class_float>` **depth**
  31. +----------+------------------+
  32. | *Setter* | set_depth(value) |
  33. +----------+------------------+
  34. | *Getter* | get_depth() |
  35. +----------+------------------+
  36. Depth of the box measured from the center of the box.
  37. ----
  38. .. _class_CSGBox_property_height:
  39. - :ref:`float<class_float>` **height**
  40. +----------+-------------------+
  41. | *Setter* | set_height(value) |
  42. +----------+-------------------+
  43. | *Getter* | get_height() |
  44. +----------+-------------------+
  45. Height of the box measured from the center of the box.
  46. ----
  47. .. _class_CSGBox_property_material:
  48. - :ref:`Material<class_Material>` **material**
  49. +----------+---------------------+
  50. | *Setter* | set_material(value) |
  51. +----------+---------------------+
  52. | *Getter* | get_material() |
  53. +----------+---------------------+
  54. The material used to render the box.
  55. ----
  56. .. _class_CSGBox_property_width:
  57. - :ref:`float<class_float>` **width**
  58. +----------+------------------+
  59. | *Setter* | set_width(value) |
  60. +----------+------------------+
  61. | *Getter* | get_width() |
  62. +----------+------------------+
  63. Width of the box measured from the center of the box.