2021-01-04 13:33:44 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="GLTFDocument" inherits="Resource" version="4.0">
|
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2021-09-10 07:54:10 +00:00
|
|
|
<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>
|
2021-01-04 13:33:44 +00:00
|
|
|
</methods>
|
2021-09-21 01:24:31 +00:00
|
|
|
<members>
|
2021-10-04 15:58:28 +00:00
|
|
|
<member name="extensions" type="GLTFDocumentExtension[]" setter="set_extensions" getter="get_extensions" default="[]">
|
2021-09-21 01:24:31 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
2021-01-04 13:33:44 +00:00
|
|
|
</class>
|