.. 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/gltf/doc_classes/GLTFPhysicsShape.xml. .. _class_GLTFPhysicsShape: GLTFPhysicsShape ================ **Inherits:** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` .. 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:`float` | :ref:`height` | ``2.0`` | +-----------------------------------------+---------------------------------------------------------------------+----------------------+ | :ref:`ImporterMesh` | :ref:`importer_mesh` | | +-----------------------------------------+---------------------------------------------------------------------+----------------------+ | :ref:`bool` | :ref:`is_trigger` | ``false`` | +-----------------------------------------+---------------------------------------------------------------------+----------------------+ | :ref:`int` | :ref:`mesh_index` | ``-1`` | +-----------------------------------------+---------------------------------------------------------------------+----------------------+ | :ref:`float` | :ref:`radius` | ``0.5`` | +-----------------------------------------+---------------------------------------------------------------------+----------------------+ | :ref:`String` | :ref:`shape_type` | ``""`` | +-----------------------------------------+---------------------------------------------------------------------+----------------------+ | :ref:`Vector3` | :ref:`size` | ``Vector3(1, 1, 1)`` | +-----------------------------------------+---------------------------------------------------------------------+----------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`GLTFPhysicsShape` | :ref:`from_dictionary` **(** :ref:`Dictionary` dictionary **)** |static| | +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`GLTFPhysicsShape` | :ref:`from_node` **(** :ref:`CollisionShape3D` shape_node **)** |static| | +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`GLTFPhysicsShape` | :ref:`from_resource` **(** :ref:`Shape3D` shape_resource **)** |static| | +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`to_dictionary` **(** **)** |const| | +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`CollisionShape3D` | :ref:`to_node` **(** :ref:`bool` cache_shapes=false **)** | +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Shape3D` | :ref:`to_resource` **(** :ref:`bool` cache_shapes=false **)** | +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_GLTFPhysicsShape_property_height: .. rst-class:: classref-property :ref:`float` **height** = ``2.0`` .. rst-class:: classref-property-setget - void **set_height** **(** :ref:`float` value **)** - :ref:`float` **get_height** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsShape_property_importer_mesh: .. rst-class:: classref-property :ref:`ImporterMesh` **importer_mesh** .. rst-class:: classref-property-setget - void **set_importer_mesh** **(** :ref:`ImporterMesh` value **)** - :ref:`ImporterMesh` **get_importer_mesh** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsShape_property_is_trigger: .. rst-class:: classref-property :ref:`bool` **is_trigger** = ``false`` .. rst-class:: classref-property-setget - void **set_is_trigger** **(** :ref:`bool` value **)** - :ref:`bool` **get_is_trigger** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsShape_property_mesh_index: .. rst-class:: classref-property :ref:`int` **mesh_index** = ``-1`` .. rst-class:: classref-property-setget - void **set_mesh_index** **(** :ref:`int` value **)** - :ref:`int` **get_mesh_index** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsShape_property_radius: .. rst-class:: classref-property :ref:`float` **radius** = ``0.5`` .. rst-class:: classref-property-setget - void **set_radius** **(** :ref:`float` value **)** - :ref:`float` **get_radius** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsShape_property_shape_type: .. rst-class:: classref-property :ref:`String` **shape_type** = ``""`` .. rst-class:: classref-property-setget - void **set_shape_type** **(** :ref:`String` value **)** - :ref:`String` **get_shape_type** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsShape_property_size: .. rst-class:: classref-property :ref:`Vector3` **size** = ``Vector3(1, 1, 1)`` .. rst-class:: classref-property-setget - void **set_size** **(** :ref:`Vector3` value **)** - :ref:`Vector3` **get_size** **(** **)** .. 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_GLTFPhysicsShape_method_from_dictionary: .. rst-class:: classref-method :ref:`GLTFPhysicsShape` **from_dictionary** **(** :ref:`Dictionary` dictionary **)** |static| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsShape_method_from_node: .. rst-class:: classref-method :ref:`GLTFPhysicsShape` **from_node** **(** :ref:`CollisionShape3D` shape_node **)** |static| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsShape_method_from_resource: .. rst-class:: classref-method :ref:`GLTFPhysicsShape` **from_resource** **(** :ref:`Shape3D` shape_resource **)** |static| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsShape_method_to_dictionary: .. rst-class:: classref-method :ref:`Dictionary` **to_dictionary** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsShape_method_to_node: .. rst-class:: classref-method :ref:`CollisionShape3D` **to_node** **(** :ref:`bool` cache_shapes=false **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsShape_method_to_resource: .. rst-class:: classref-method :ref:`Shape3D` **to_resource** **(** :ref:`bool` cache_shapes=false **)** .. 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.)`