mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 17:07:20 +01:00
47 lines
2.1 KiB
XML
47 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="PackedSceneGLTF" inherits="PackedScene">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF loading and saving is [i]not[/i] available in exported projects. References to [PackedSceneGLTF] within a script will cause an error in an exported project.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="export_gltf">
|
|
<return type="int" enum="Error" />
|
|
<argument index="0" name="node" type="Node" />
|
|
<argument index="1" name="path" type="String" />
|
|
<argument index="2" name="flags" type="int" default="0" />
|
|
<argument index="3" name="bake_fps" type="float" default="1000.0" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="import_gltf_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="float" default="1000.0" />
|
|
<argument index="3" name="compress_flags" type="int" default="2194432" />
|
|
<argument index="4" name="state" type="GLTFState" default="null" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="pack_gltf">
|
|
<return type="void" />
|
|
<argument index="0" name="path" type="String" />
|
|
<argument index="1" name="flags" type="int" default="0" />
|
|
<argument index="2" name="bake_fps" type="float" default="1000.0" />
|
|
<argument index="3" name="compress_flags" type="int" default="2194432" />
|
|
<argument index="4" name="state" type="GLTFState" default="null" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="_bundled" type="Dictionary" setter="_set_bundled_scene" getter="_get_bundled_scene" overrides="PackedScene" default="{"conn_count": 0,"conns": PoolIntArray( ),"editable_instances": [ ],"names": PoolStringArray( ),"node_count": 0,"node_paths": [ ],"nodes": PoolIntArray( ),"variants": [ ],"version": 2}" />
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|