diff --git a/modules/gltf/doc_classes/GLTFDocument.xml b/modules/gltf/doc_classes/GLTFDocument.xml index 57727a741614..1967df521881 100644 --- a/modules/gltf/doc_classes/GLTFDocument.xml +++ b/modules/gltf/doc_classes/GLTFDocument.xml @@ -16,6 +16,8 @@ + Takes a [PackedByteArray] defining a gLTF and returns a [GLTFState] object through the [param state] parameter. + [b]Note:[/b] The [param base_path] tells [method append_from_buffer] where to find dependencies and can be empty. @@ -26,6 +28,8 @@ + Takes a path to a gLTF file and returns a [GLTFState] object through the [param state] parameter. + [b]Note:[/b] The [param base_path] tells [method append_from_file] where to find dependencies and can be empty. @@ -35,12 +39,14 @@ + Takes a Godot Engine scene node and returns a [GLTFState] object through the [param state] parameter. + Takes a [GLTFState] object through the [param state] parameter and returns a gLTF [PackedByteArray]. @@ -48,6 +54,7 @@ + Takes a [GLTFState] object through the [param state] parameter and returns a Godot Engine scene node. @@ -64,6 +71,8 @@ + Takes a [GLTFState] object through the [param state] parameter and writes a glTF file to the filesystem. + [b]Note:[/b] The extension of the glTF file determines if it is a .glb binary file or a .gltf file.