GLTFState

Inherits: Resource < RefCounted < Object

Methods

Array

get_accessors ( )

AnimationPlayer

get_animation_player ( int idx )

int

get_animation_players_count ( int idx )

Array

get_animations ( )

Array

get_buffer_views ( )

Array

get_cameras ( )

Array

get_images ( )

Array

get_lights ( )

Array

get_materials ( )

Array

get_meshes ( )

Array

get_nodes ( )

Node

get_scene_node ( int idx )

Dictionary

get_skeleton_to_node ( )

Array

get_skeletons ( )

Array

get_skins ( )

Array

get_textures ( )

Array

get_unique_animation_names ( )

Array

get_unique_names ( )

void

set_accessors ( Array accessors )

void

set_animations ( Array animations )

void

set_buffer_views ( Array buffer_views )

void

set_cameras ( Array cameras )

void

set_images ( Array images )

void

set_lights ( Array lights )

void

set_materials ( Array materials )

void

set_meshes ( Array meshes )

void

set_nodes ( Array nodes )

void

set_skeleton_to_node ( Dictionary skeleton_to_node )

void

set_skeletons ( Array skeletons )

void

set_skins ( Array skins )

void

set_textures ( Array textures )

void

set_unique_animation_names ( Array unique_animation_names )

void

set_unique_names ( Array unique_names )

Property Descriptions

Default

[]

Setter

set_buffers(value)

Getter

get_buffers()


Default

PackedByteArray()

Setter

set_glb_data(value)

Getter

get_glb_data()


Default

{}

Setter

set_json(value)

Getter

get_json()


  • int major_version

Default

0

Setter

set_major_version(value)

Getter

get_major_version()


  • int minor_version

Default

0

Setter

set_minor_version(value)

Getter

get_minor_version()


Default

[]

Setter

set_root_nodes(value)

Getter

get_root_nodes()


Default

""

Setter

set_scene_name(value)

Getter

get_scene_name()


  • bool use_named_skin_binds

Default

false

Setter

set_use_named_skin_binds(value)

Getter

get_use_named_skin_binds()

Method Descriptions

  • Array get_accessors ( )



  • int get_animation_players_count ( int idx )


  • Array get_animations ( )


  • Array get_buffer_views ( )





  • Array get_materials ( )






  • Array get_skeletons ( )




  • Array get_unique_animation_names ( )


  • Array get_unique_names ( )


  • void set_accessors ( Array accessors )


  • void set_animations ( Array animations )


  • void set_buffer_views ( Array buffer_views )


  • void set_cameras ( Array cameras )


  • void set_images ( Array images )


  • void set_lights ( Array lights )


  • void set_materials ( Array materials )


  • void set_meshes ( Array meshes )


  • void set_nodes ( Array nodes )


  • void set_skeleton_to_node ( Dictionary skeleton_to_node )


  • void set_skeletons ( Array skeletons )


  • void set_skins ( Array skins )


  • void set_textures ( Array textures )


  • void set_unique_animation_names ( Array unique_animation_names )


  • void set_unique_names ( Array unique_names )