:github_url: hide .. 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/modules/gltf/doc_classes/GLTFSkeleton.xml. .. _class_GLTFSkeleton: GLTFSkeleton ============ **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-introduction-group Tutorials --------- - :doc:`Runtime file loading and saving <../tutorials/io/runtime_file_loading_and_saving>` .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------------------------------+---------------------------------------------------+------------------------+ | :ref:`PackedInt32Array` | :ref:`joints` | ``PackedInt32Array()`` | +-------------------------------------------------+---------------------------------------------------+------------------------+ | :ref:`PackedInt32Array` | :ref:`roots` | ``PackedInt32Array()`` | +-------------------------------------------------+---------------------------------------------------+------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`BoneAttachment3D` | :ref:`get_bone_attachment`\ (\ idx\: :ref:`int`\ ) | +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_bone_attachment_count`\ (\ ) | +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`get_godot_bone_node`\ (\ ) | +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Skeleton3D` | :ref:`get_godot_skeleton`\ (\ ) | +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array`\[:ref:`String`\] | :ref:`get_unique_names`\ (\ ) | +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_godot_bone_node`\ (\ godot_bone_node\: :ref:`Dictionary`\ ) | +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`set_unique_names`\ (\ unique_names\: :ref:`Array`\[:ref:`String`\]\ ) | +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_GLTFSkeleton_property_joints: .. rst-class:: classref-property :ref:`PackedInt32Array` **joints** = ``PackedInt32Array()`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_joints**\ (\ value\: :ref:`PackedInt32Array`\ ) - :ref:`PackedInt32Array` **get_joints**\ (\ ) .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedInt32Array` for more details. .. rst-class:: classref-item-separator ---- .. _class_GLTFSkeleton_property_roots: .. rst-class:: classref-property :ref:`PackedInt32Array` **roots** = ``PackedInt32Array()`` :ref:`🔗` .. rst-class:: classref-property-setget - |void| **set_roots**\ (\ value\: :ref:`PackedInt32Array`\ ) - :ref:`PackedInt32Array` **get_roots**\ (\ ) .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedInt32Array` for more details. .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_GLTFSkeleton_method_get_bone_attachment: .. rst-class:: classref-method :ref:`BoneAttachment3D` **get_bone_attachment**\ (\ idx\: :ref:`int`\ ) :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFSkeleton_method_get_bone_attachment_count: .. rst-class:: classref-method :ref:`int` **get_bone_attachment_count**\ (\ ) :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFSkeleton_method_get_godot_bone_node: .. rst-class:: classref-method :ref:`Dictionary` **get_godot_bone_node**\ (\ ) :ref:`🔗` Returns a :ref:`Dictionary` that maps skeleton bone indices to the indices of glTF nodes. This property is unused during import, and only set during export. In a glTF file, a bone is a node, so Godot converts skeleton bones to glTF nodes. .. rst-class:: classref-item-separator ---- .. _class_GLTFSkeleton_method_get_godot_skeleton: .. rst-class:: classref-method :ref:`Skeleton3D` **get_godot_skeleton**\ (\ ) :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFSkeleton_method_get_unique_names: .. rst-class:: classref-method :ref:`Array`\[:ref:`String`\] **get_unique_names**\ (\ ) :ref:`🔗` .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFSkeleton_method_set_godot_bone_node: .. rst-class:: classref-method |void| **set_godot_bone_node**\ (\ godot_bone_node\: :ref:`Dictionary`\ ) :ref:`🔗` Sets a :ref:`Dictionary` that maps skeleton bone indices to the indices of glTF nodes. This property is unused during import, and only set during export. In a glTF file, a bone is a node, so Godot converts skeleton bones to glTF nodes. .. rst-class:: classref-item-separator ---- .. _class_GLTFSkeleton_method_set_unique_names: .. rst-class:: classref-method |void| **set_unique_names**\ (\ unique_names\: :ref:`Array`\[:ref:`String`\]\ ) :ref:`🔗` .. 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.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` .. |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.)` .. |void| replace:: :abbr:`void (No return value.)`