GLTFDocument

Inherits: Resource < RefCounted < Object

Description

Append a glTF2 3d format from a file, buffer or scene and then write to the filesystem, buffer or scene.

Properties

GLTFDocumentExtension[]

extensions

[]

Methods

Error

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

Error

append_from_file ( String path, GLTFState state, int flags=0, int bake_fps=30 )

Error

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

PackedByteArray

generate_buffer ( GLTFState state )

Node

generate_scene ( GLTFState state, int bake_fps=30 )

Error

write_to_filesystem ( GLTFState state, String path )

Property Descriptions

Default

[]

Setter

set_extensions(value)

Getter

get_extensions()

Method Descriptions