summaryrefslogtreecommitdiff
path: root/modules/gltf/doc_classes/GLTFDocument.xml
blob: 77c45da34d1a5a446b03547e16cbc63927e6a4dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8" ?>
<class name="GLTFDocument" inherits="Resource" version="4.0">
	<brief_description>
	</brief_description>
	<description>
	</description>
	<tutorials>
	</tutorials>
	<methods>
		<method name="import_scene">
			<return type="Node" />
			<argument index="0" name="path" type="String" />
			<argument index="1" name="flags" type="int" default="0" />
			<argument index="2" name="bake_fps" type="int" default="30" />
			<argument index="3" name="state" type="GLTFState" default="null" />
			<description>
				Import a scene from glTF2 ".gltf" or ".glb" file.
			</description>
		</method>
		<method name="save_scene">
			<return type="int" enum="Error" />
			<argument index="0" name="node" type="Node" />
			<argument index="1" name="path" type="String" />
			<argument index="2" name="src_path" type="String" />
			<argument index="3" name="flags" type="int" default="0" />
			<argument index="4" name="bake_fps" type="float" default="30" />
			<argument index="5" name="state" type="GLTFState" default="null" />
			<description>
				Save a scene as a glTF2 ".glb" or ".gltf" file.
			</description>
		</method>
	</methods>
	<members>
		<member name="extensions" type="GLTFDocumentExtension[]" setter="set_extensions" getter="get_extensions" default="[Object(GLTFDocumentExtensionConvertImporterMesh,&quot;resource_local_to_scene&quot;:false,&quot;resource_name&quot;:&quot;&quot;,&quot;script&quot;:null)]">
		</member>
	</members>
</class>