GLTFDocument

Inherits: Resource < RefCounted < Object

Inherited By: FBXDocument

There is currently no description for this class. Please help us by contributing one!

Properties

String

image_format

"PNG"

float

lossy_quality

0.75

RootNodeMode

root_node_mode

0

Methods

Error

append_from_buffer ( PackedByteArray bytes, String base_path, GLTFState state, int flags=0 )

Error

append_from_file ( String path, GLTFState state, int flags=0, String base_path=”” )

Error

append_from_scene ( Node node, GLTFState state, int flags=0 )

PackedByteArray

generate_buffer ( GLTFState state )

Node

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

Error

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"

  • void set_image_format ( String value )

  • String get_image_format ( )

There is currently no description for this property. Please help us by contributing one!


float lossy_quality = 0.75

  • void set_lossy_quality ( float value )

  • float get_lossy_quality ( )

There is currently no description for this property. Please help us by contributing one!


RootNodeMode root_node_mode = 0

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!