.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/modules/csg/doc_classes/CSGShape3D.xml. .. _class_CSGShape3D: CSGShape3D ========== **Inherits:** :ref:`GeometryInstance3D` **<** :ref:`VisualInstance3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` **Inherited By:** :ref:`CSGCombiner3D`, :ref:`CSGPrimitive3D` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------------------------+-------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`calculate_tangents` | ``true`` | +---------------------------------------------+-------------------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`collision_layer` | ``1`` | +---------------------------------------------+-------------------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`collision_mask` | ``1`` | +---------------------------------------------+-------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`collision_priority` | ``1.0`` | +---------------------------------------------+-------------------------------------------------------------------------+-----------+ | :ref:`Operation` | :ref:`operation` | ``0`` | +---------------------------------------------+-------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`snap` | ``0.001`` | +---------------------------------------------+-------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`use_collision` | ``false`` | +---------------------------------------------+-------------------------------------------------------------------------+-----------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`get_collision_layer_value` **(** :ref:`int` layer_number **)** |const| | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`get_collision_mask_value` **(** :ref:`int` layer_number **)** |const| | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_meshes` **(** **)** |const| | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_root_shape` **(** **)** |const| | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_collision_layer_value` **(** :ref:`int` layer_number, :ref:`bool` value **)** | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_collision_mask_value` **(** :ref:`int` layer_number, :ref:`bool` value **)** | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_CSGShape3D_Operation: .. rst-class:: classref-enumeration enum **Operation**: .. _class_CSGShape3D_constant_OPERATION_UNION: .. rst-class:: classref-enumeration-constant :ref:`Operation` **OPERATION_UNION** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_CSGShape3D_constant_OPERATION_INTERSECTION: .. rst-class:: classref-enumeration-constant :ref:`Operation` **OPERATION_INTERSECTION** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_CSGShape3D_constant_OPERATION_SUBTRACTION: .. rst-class:: classref-enumeration-constant :ref:`Operation` **OPERATION_SUBTRACTION** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_CSGShape3D_property_calculate_tangents: .. rst-class:: classref-property :ref:`bool` **calculate_tangents** = ``true`` .. rst-class:: classref-property-setget - void **set_calculate_tangents** **(** :ref:`bool` value **)** - :ref:`bool` **is_calculating_tangents** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGShape3D_property_collision_layer: .. rst-class:: classref-property :ref:`int` **collision_layer** = ``1`` .. rst-class:: classref-property-setget - void **set_collision_layer** **(** :ref:`int` value **)** - :ref:`int` **get_collision_layer** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGShape3D_property_collision_mask: .. rst-class:: classref-property :ref:`int` **collision_mask** = ``1`` .. rst-class:: classref-property-setget - void **set_collision_mask** **(** :ref:`int` value **)** - :ref:`int` **get_collision_mask** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGShape3D_property_collision_priority: .. rst-class:: classref-property :ref:`float` **collision_priority** = ``1.0`` .. rst-class:: classref-property-setget - void **set_collision_priority** **(** :ref:`float` value **)** - :ref:`float` **get_collision_priority** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGShape3D_property_operation: .. rst-class:: classref-property :ref:`Operation` **operation** = ``0`` .. rst-class:: classref-property-setget - void **set_operation** **(** :ref:`Operation` value **)** - :ref:`Operation` **get_operation** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGShape3D_property_snap: .. rst-class:: classref-property :ref:`float` **snap** = ``0.001`` .. rst-class:: classref-property-setget - void **set_snap** **(** :ref:`float` value **)** - :ref:`float` **get_snap** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGShape3D_property_use_collision: .. rst-class:: classref-property :ref:`bool` **use_collision** = ``false`` .. rst-class:: classref-property-setget - void **set_use_collision** **(** :ref:`bool` value **)** - :ref:`bool` **is_using_collision** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_CSGShape3D_method_get_collision_layer_value: .. rst-class:: classref-method :ref:`bool` **get_collision_layer_value** **(** :ref:`int` layer_number **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGShape3D_method_get_collision_mask_value: .. rst-class:: classref-method :ref:`bool` **get_collision_mask_value** **(** :ref:`int` layer_number **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGShape3D_method_get_meshes: .. rst-class:: classref-method :ref:`Array` **get_meshes** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGShape3D_method_is_root_shape: .. rst-class:: classref-method :ref:`bool` **is_root_shape** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGShape3D_method_set_collision_layer_value: .. rst-class:: classref-method void **set_collision_layer_value** **(** :ref:`int` layer_number, :ref:`bool` value **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGShape3D_method_set_collision_mask_value: .. rst-class:: classref-method void **set_collision_mask_value** **(** :ref:`int` layer_number, :ref:`bool` value **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`