mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 19:29:06 +00:00
64 lines
1.5 KiB
ReStructuredText
64 lines
1.5 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the CSGShape.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_CSGShape:
|
|
|
|
CSGShape
|
|
========
|
|
|
|
**Inherits:** :ref:`VisualInstance<class_visualinstance>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
|
|
|
|
**Inherited By:** :ref:`CSGCombiner<class_csgcombiner>`, :ref:`CSGPrimitive<class_csgprimitive>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+--------------------------+----------------------------------------------------------------------+
|
|
| :ref:`bool<class_bool>` | :ref:`is_root_shape<class_CSGShape_is_root_shape>` **(** **)** const |
|
|
+--------------------------+----------------------------------------------------------------------+
|
|
|
|
Member Variables
|
|
----------------
|
|
|
|
.. _class_CSGShape_operation:
|
|
|
|
- :ref:`Operation<enum_csgshape_operation>` **operation**
|
|
|
|
.. _class_CSGShape_snap:
|
|
|
|
- :ref:`float<class_float>` **snap**
|
|
|
|
.. _class_CSGShape_use_collision:
|
|
|
|
- :ref:`bool<class_bool>` **use_collision**
|
|
|
|
|
|
Enums
|
|
-----
|
|
|
|
.. _enum_CSGShape_Operation:
|
|
|
|
enum **Operation**
|
|
|
|
- **OPERATION_UNION** = **0**
|
|
- **OPERATION_INTERSECTION** = **1**
|
|
- **OPERATION_SUBTRACTION** = **2**
|
|
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_CSGShape_is_root_shape:
|
|
|
|
- :ref:`bool<class_bool>` **is_root_shape** **(** **)** const
|
|
|
|
|