225 lines
6.7 KiB
XML
225 lines
6.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="GLTFState" inherits="Resource" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="add_used_extension">
|
|
<return type="void" />
|
|
<param index="0" name="extension_name" type="String" />
|
|
<param index="1" name="required" type="bool" />
|
|
<description>
|
|
Appends an extension to the list of extensions used by this GLTF file during serialization. If [param required] is true, the extension will also be added to the list of required extensions. Do not run this in [method GLTFDocumentExtension._export_post], as that stage is too late to add extensions. The final list is sorted alphabetically.
|
|
</description>
|
|
</method>
|
|
<method name="get_accessors">
|
|
<return type="GLTFAccessor[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_animation_player">
|
|
<return type="AnimationPlayer" />
|
|
<param index="0" name="idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_animation_players_count">
|
|
<return type="int" />
|
|
<param index="0" name="idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_animations">
|
|
<return type="GLTFAnimation[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_buffer_views">
|
|
<return type="GLTFBufferView[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_cameras">
|
|
<return type="GLTFCamera[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_images">
|
|
<return type="Texture2D[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_lights">
|
|
<return type="GLTFLight[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_materials">
|
|
<return type="BaseMaterial3D[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_meshes">
|
|
<return type="GLTFMesh[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_nodes">
|
|
<return type="GLTFNode[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_scene_node">
|
|
<return type="Node" />
|
|
<param index="0" name="idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_skeleton_to_node">
|
|
<return type="Dictionary" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_skeletons">
|
|
<return type="GLTFSkeleton[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_skins">
|
|
<return type="GLTFSkin[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_textures">
|
|
<return type="GLTFTexture[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_unique_animation_names">
|
|
<return type="String[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_unique_names">
|
|
<return type="String[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_accessors">
|
|
<return type="void" />
|
|
<param index="0" name="accessors" type="GLTFAccessor[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_animations">
|
|
<return type="void" />
|
|
<param index="0" name="animations" type="GLTFAnimation[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_buffer_views">
|
|
<return type="void" />
|
|
<param index="0" name="buffer_views" type="GLTFBufferView[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_cameras">
|
|
<return type="void" />
|
|
<param index="0" name="cameras" type="GLTFCamera[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_images">
|
|
<return type="void" />
|
|
<param index="0" name="images" type="Texture2D[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_lights">
|
|
<return type="void" />
|
|
<param index="0" name="lights" type="GLTFLight[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_materials">
|
|
<return type="void" />
|
|
<param index="0" name="materials" type="BaseMaterial3D[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_meshes">
|
|
<return type="void" />
|
|
<param index="0" name="meshes" type="GLTFMesh[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_nodes">
|
|
<return type="void" />
|
|
<param index="0" name="nodes" type="GLTFNode[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_skeleton_to_node">
|
|
<return type="void" />
|
|
<param index="0" name="skeleton_to_node" type="Dictionary" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_skeletons">
|
|
<return type="void" />
|
|
<param index="0" name="skeletons" type="GLTFSkeleton[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_skins">
|
|
<return type="void" />
|
|
<param index="0" name="skins" type="GLTFSkin[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_textures">
|
|
<return type="void" />
|
|
<param index="0" name="textures" type="GLTFTexture[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_unique_animation_names">
|
|
<return type="void" />
|
|
<param index="0" name="unique_animation_names" type="String[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_unique_names">
|
|
<return type="void" />
|
|
<param index="0" name="unique_names" type="String[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="base_path" type="String" setter="set_base_path" getter="get_base_path" default="""">
|
|
</member>
|
|
<member name="buffers" type="PackedByteArray[]" setter="set_buffers" getter="get_buffers" default="[]">
|
|
</member>
|
|
<member name="create_animations" type="bool" setter="set_create_animations" getter="get_create_animations" default="true">
|
|
</member>
|
|
<member name="glb_data" type="PackedByteArray" setter="set_glb_data" getter="get_glb_data" default="PackedByteArray()">
|
|
</member>
|
|
<member name="json" type="Dictionary" setter="set_json" getter="get_json" default="{}">
|
|
</member>
|
|
<member name="major_version" type="int" setter="set_major_version" getter="get_major_version" default="0">
|
|
</member>
|
|
<member name="minor_version" type="int" setter="set_minor_version" getter="get_minor_version" default="0">
|
|
</member>
|
|
<member name="root_nodes" type="PackedInt32Array" setter="set_root_nodes" getter="get_root_nodes" default="PackedInt32Array()">
|
|
</member>
|
|
<member name="scene_name" type="String" setter="set_scene_name" getter="get_scene_name" default="""">
|
|
</member>
|
|
<member name="use_named_skin_binds" type="bool" setter="set_use_named_skin_binds" getter="get_use_named_skin_binds" default="false">
|
|
</member>
|
|
</members>
|
|
</class>
|