GLTFState
Note: This class is only compiled in editor builds. Run-time glTF loading and saving is not available in exported projects. References to within a script will cause an error in an exported project.
get_accessors ( ) | |
get_animation_player ( idx ) | |
( int idx ) | |
get_animations ( ) | |
get_buffer_views ( ) | |
get_cameras ( ) | |
get_images ( ) | |
get_lights ( ) | |
get_materials ( ) | |
get_meshes ( ) | |
( ) | |
( int idx ) | |
get_skeletons ( ) | |
get_skins ( ) | |
get_textures ( ) | |
get_unique_names ( ) | |
void | ( Array accessors ) |
void | ( Array animations ) |
void | ( Array buffer_views ) |
void | ( Array cameras ) |
void | ( Array images ) |
void | ( Array lights ) |
void | ( Array materials ) |
void | ( Array meshes ) |
void | ( Array nodes ) |
void | ( Dictionary skeleton_to_node ) |
void | ( Array skeletons ) |
void | ( Array skins ) |
void | ( Array textures ) |
void | ( Array unique_animation_names ) |
void | ( Array unique_names ) |
- Array buffers
| |
Setter | set_buffers(value) |
Getter | get_buffers() |
- glb_data
- Dictionary json
Default |
|
Setter | set_json(value) |
Getter | get_json() |
- major_version
Default |
|
Setter | set_major_version(value) |
Getter | get_major_version() |
- int minor_version
- root_nodes
Default |
|
Setter | set_root_nodes(value) |
Getter | get_root_nodes() |
- String scene_name
Default | |
Setter | set_scene_name(value) |
Getter | get_scene_name() |
- use_named_skin_binds
- get_accessors ( )
- int get_animation_players_count ( idx )
- Array get_animations ( )
- get_buffer_views ( )
- Array get_cameras ( )
- get_images ( )
- Array get_lights ( )
- get_materials ( )
- Array get_meshes ( )
- get_nodes ( )
- Node get_scene_node ( idx )
- Dictionary get_skeleton_to_node ( )
- get_skeletons ( )
- Array get_skins ( )
- get_textures ( )
- Array get_unique_names ( )
- void set_accessors ( accessors )
- void set_animations ( Array animations )
- void set_buffer_views ( buffer_views )
- void set_cameras ( Array cameras )
- void set_images ( images )
- void set_lights ( Array lights )
- void set_materials ( materials )
- void set_meshes ( Array meshes )
- void set_nodes ( nodes )
- void set_skeleton_to_node ( Dictionary skeleton_to_node )
- void set_skeletons ( skeletons )
- void set_skins ( Array skins )
- void set_textures ( textures )
- void set_unique_names ( Array unique_names )