Files
godot-docs/classes/class_csgbox.rst
T

44 lines
1.1 KiB
ReStructuredText

.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the CSGBox.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_CSGBox:
CSGBox
======
**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>`
**Category:** Core
Brief Description
-----------------
A CSG Box shape.
Member Variables
----------------
.. _class_CSGBox_depth:
- :ref:`float<class_float>` **depth** - Depth of the box measured from the center of the box.
.. _class_CSGBox_height:
- :ref:`float<class_float>` **height** - Height of the box measured from the center of the box.
.. _class_CSGBox_material:
- :ref:`Material<class_material>` **material** - The material used to render the box.
.. _class_CSGBox_width:
- :ref:`float<class_float>` **width** - Width of the box measured from the center of the box.
Description
-----------
This node allows you to create a box for use with the CSG system.