.. 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//doc_classes. .. _class_CSGShape: CSGShape ======== **Inherits:** :ref:`VisualInstance` **<** :ref:`Spatial` **<** :ref:`Node` **<** :ref:`Object` **Inherited By:** :ref:`CSGCombiner`, :ref:`CSGPrimitive` **Category:** Core Brief Description ----------------- Member Functions ---------------- +--------------------------+----------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_root_shape` **(** **)** const | +--------------------------+----------------------------------------------------------------------+ Member Variables ---------------- .. _class_CSGShape_operation: - :ref:`Operation` **operation** .. _class_CSGShape_snap: - :ref:`float` **snap** .. _class_CSGShape_use_collision: - :ref:`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` **is_root_shape** **(** **)** const