GLTFDocument
Inherits: Resource < RefCounted < Object
Inherited By: FBXDocument
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
Methods
append_from_buffer ( PackedByteArray bytes, String base_path, GLTFState state, int flags=0 ) |
|
append_from_file ( String path, GLTFState state, int flags=0, String base_path=”” ) |
|
append_from_scene ( Node node, GLTFState state, int flags=0 ) |
|
generate_buffer ( GLTFState state ) |
|
generate_scene ( GLTFState state, float bake_fps=30, bool trimming=false, bool remove_immutable_tracks=true ) |
|
void |
register_gltf_document_extension ( GLTFDocumentExtension extension, bool first_priority=false ) static |
void |
unregister_gltf_document_extension ( GLTFDocumentExtension extension ) static |
write_to_filesystem ( GLTFState state, String path ) |
Enumerations
enum RootNodeMode:
RootNodeMode ROOT_NODE_MODE_SINGLE_ROOT = 0
There is currently no description for this enum. Please help us by contributing one!
RootNodeMode ROOT_NODE_MODE_KEEP_ROOT = 1
There is currently no description for this enum. Please help us by contributing one!
RootNodeMode ROOT_NODE_MODE_MULTI_ROOT = 2
There is currently no description for this enum. Please help us by contributing one!
Property Descriptions
String image_format = "PNG"
There is currently no description for this property. Please help us by contributing one!
float lossy_quality = 0.75
There is currently no description for this property. Please help us by contributing one!
RootNodeMode root_node_mode = 0
void set_root_node_mode ( RootNodeMode value )
RootNodeMode get_root_node_mode ( )
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
Error append_from_buffer ( PackedByteArray bytes, String base_path, GLTFState state, int flags=0 )
There is currently no description for this method. Please help us by contributing one!
Error append_from_file ( String path, GLTFState state, int flags=0, String base_path=”” )
There is currently no description for this method. Please help us by contributing one!
Error append_from_scene ( Node node, GLTFState state, int flags=0 )
There is currently no description for this method. Please help us by contributing one!
PackedByteArray generate_buffer ( GLTFState state )
There is currently no description for this method. Please help us by contributing one!
Node generate_scene ( GLTFState state, float bake_fps=30, bool trimming=false, bool remove_immutable_tracks=true )
There is currently no description for this method. Please help us by contributing one!
void register_gltf_document_extension ( GLTFDocumentExtension extension, bool first_priority=false ) static
There is currently no description for this method. Please help us by contributing one!
void unregister_gltf_document_extension ( GLTFDocumentExtension extension ) static
There is currently no description for this method. Please help us by contributing one!
Error write_to_filesystem ( GLTFState state, String path )
There is currently no description for this method. Please help us by contributing one!