:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/3.5/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/3.5/modules/gltf/doc_classes/GLTFState.xml. .. _class_GLTFState: GLTFState ========= **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` .. rst-class:: classref-introduction-group Description ----------- **Note:** This class is only compiled in editor builds. Run-time glTF loading and saving is *not* available in exported projects. References to **GLTFState** within a script will cause an error in an exported project. .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`Array` | :ref:`buffers` | ``[ ]`` | +-------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`PoolByteArray` | :ref:`glb_data` | ``PoolByteArray( )`` | +-------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`Dictionary` | :ref:`json` | ``{}`` | +-------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`major_version` | ``0`` | +-------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`minor_version` | ``0`` | +-------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`Array` | :ref:`root_nodes` | ``[ ]`` | +-------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`String` | :ref:`scene_name` | ``""`` | +-------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`bool` | :ref:`use_named_skin_binds` | ``false`` | +-------------------------------------------+----------------------------------------------------------------------------+-----------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_accessors` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`AnimationPlayer` | :ref:`get_animation_player` **(** :ref:`int` idx **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_animation_players_count` **(** :ref:`int` idx **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_animations` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_buffer_views` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_cameras` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_images` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_lights` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_materials` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_meshes` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_nodes` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Node` | :ref:`get_scene_node` **(** :ref:`int` idx **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`get_skeleton_to_node` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_skeletons` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_skins` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_textures` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_unique_animation_names` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_unique_names` **(** **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_accessors` **(** :ref:`Array` accessors **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_animations` **(** :ref:`Array` animations **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_buffer_views` **(** :ref:`Array` buffer_views **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_cameras` **(** :ref:`Array` cameras **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_images` **(** :ref:`Array` images **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_lights` **(** :ref:`Array` lights **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_materials` **(** :ref:`Array` materials **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_meshes` **(** :ref:`Array` meshes **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_nodes` **(** :ref:`Array` nodes **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_skeleton_to_node` **(** :ref:`Dictionary` skeleton_to_node **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_skeletons` **(** :ref:`Array` skeletons **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_skins` **(** :ref:`Array` skins **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_textures` **(** :ref:`Array` textures **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_unique_animation_names` **(** :ref:`Array` unique_animation_names **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_unique_names` **(** :ref:`Array` unique_names **)** | +-----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_GLTFState_property_buffers: .. rst-class:: classref-property :ref:`Array` **buffers** = ``[ ]`` .. rst-class:: classref-property-setget - void **set_buffers** **(** :ref:`Array` value **)** - :ref:`Array` **get_buffers** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_property_glb_data: .. rst-class:: classref-property :ref:`PoolByteArray` **glb_data** = ``PoolByteArray( )`` .. rst-class:: classref-property-setget - void **set_glb_data** **(** :ref:`PoolByteArray` value **)** - :ref:`PoolByteArray` **get_glb_data** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_property_json: .. rst-class:: classref-property :ref:`Dictionary` **json** = ``{}`` .. rst-class:: classref-property-setget - void **set_json** **(** :ref:`Dictionary` value **)** - :ref:`Dictionary` **get_json** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_property_major_version: .. rst-class:: classref-property :ref:`int` **major_version** = ``0`` .. rst-class:: classref-property-setget - void **set_major_version** **(** :ref:`int` value **)** - :ref:`int` **get_major_version** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_property_minor_version: .. rst-class:: classref-property :ref:`int` **minor_version** = ``0`` .. rst-class:: classref-property-setget - void **set_minor_version** **(** :ref:`int` value **)** - :ref:`int` **get_minor_version** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_property_root_nodes: .. rst-class:: classref-property :ref:`Array` **root_nodes** = ``[ ]`` .. rst-class:: classref-property-setget - void **set_root_nodes** **(** :ref:`Array` value **)** - :ref:`Array` **get_root_nodes** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_property_scene_name: .. rst-class:: classref-property :ref:`String` **scene_name** = ``""`` .. rst-class:: classref-property-setget - void **set_scene_name** **(** :ref:`String` value **)** - :ref:`String` **get_scene_name** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_property_use_named_skin_binds: .. rst-class:: classref-property :ref:`bool` **use_named_skin_binds** = ``false`` .. rst-class:: classref-property-setget - void **set_use_named_skin_binds** **(** :ref:`bool` value **)** - :ref:`bool` **get_use_named_skin_binds** **(** **)** .. 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_GLTFState_method_get_accessors: .. rst-class:: classref-method :ref:`Array` **get_accessors** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_animation_player: .. rst-class:: classref-method :ref:`AnimationPlayer` **get_animation_player** **(** :ref:`int` idx **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_animation_players_count: .. rst-class:: classref-method :ref:`int` **get_animation_players_count** **(** :ref:`int` idx **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_animations: .. rst-class:: classref-method :ref:`Array` **get_animations** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_buffer_views: .. rst-class:: classref-method :ref:`Array` **get_buffer_views** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_cameras: .. rst-class:: classref-method :ref:`Array` **get_cameras** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_images: .. rst-class:: classref-method :ref:`Array` **get_images** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_lights: .. rst-class:: classref-method :ref:`Array` **get_lights** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_materials: .. rst-class:: classref-method :ref:`Array` **get_materials** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_meshes: .. rst-class:: classref-method :ref:`Array` **get_meshes** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_nodes: .. rst-class:: classref-method :ref:`Array` **get_nodes** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_scene_node: .. rst-class:: classref-method :ref:`Node` **get_scene_node** **(** :ref:`int` idx **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_skeleton_to_node: .. rst-class:: classref-method :ref:`Dictionary` **get_skeleton_to_node** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_skeletons: .. rst-class:: classref-method :ref:`Array` **get_skeletons** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_skins: .. rst-class:: classref-method :ref:`Array` **get_skins** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_textures: .. rst-class:: classref-method :ref:`Array` **get_textures** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_unique_animation_names: .. rst-class:: classref-method :ref:`Array` **get_unique_animation_names** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_get_unique_names: .. rst-class:: classref-method :ref:`Array` **get_unique_names** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_accessors: .. rst-class:: classref-method void **set_accessors** **(** :ref:`Array` accessors **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_animations: .. rst-class:: classref-method void **set_animations** **(** :ref:`Array` animations **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_buffer_views: .. rst-class:: classref-method void **set_buffer_views** **(** :ref:`Array` buffer_views **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_cameras: .. rst-class:: classref-method void **set_cameras** **(** :ref:`Array` cameras **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_images: .. rst-class:: classref-method void **set_images** **(** :ref:`Array` images **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_lights: .. rst-class:: classref-method void **set_lights** **(** :ref:`Array` lights **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_materials: .. rst-class:: classref-method void **set_materials** **(** :ref:`Array` materials **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_meshes: .. rst-class:: classref-method void **set_meshes** **(** :ref:`Array` meshes **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_nodes: .. rst-class:: classref-method void **set_nodes** **(** :ref:`Array` nodes **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_skeleton_to_node: .. rst-class:: classref-method void **set_skeleton_to_node** **(** :ref:`Dictionary` skeleton_to_node **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_skeletons: .. rst-class:: classref-method void **set_skeletons** **(** :ref:`Array` skeletons **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_skins: .. rst-class:: classref-method void **set_skins** **(** :ref:`Array` skins **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_textures: .. rst-class:: classref-method void **set_textures** **(** :ref:`Array` textures **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_unique_animation_names: .. rst-class:: classref-method void **set_unique_animation_names** **(** :ref:`Array` unique_animation_names **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFState_method_set_unique_names: .. rst-class:: classref-method void **set_unique_names** **(** :ref:`Array` unique_names **)** .. 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.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`