203295f17d
Fleshed out the "Optimize Mesh" options found in the mesh import UI Gave a checkbox to every vertex attribute that can be compressed Surfaced option to enable/disable Octahedral compression for normal/tangent vectors Also surfaces the vertex position compression option which previously inaccessible because the defaults did not compress vertex positions Supports all current importers (obj, fbx, collada, gltf)
45 lines
1.9 KiB
XML
45 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="PackedSceneGLTF" inherits="PackedScene" version="3.4">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</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" override="true" default="{"conn_count": 0,"conns": PoolIntArray( ),"editable_instances": [ ],"names": PoolStringArray( ),"node_count": 0,"node_paths": [ ],"nodes": PoolIntArray( ),"variants": [ ],"version": 2}" />
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|