2021-01-04 14:33:44 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="EditorSceneImporterMesh" inherits="Resource" version="4.0">
|
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="add_blend_shape">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="name" type="String" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_surface">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="primitive" type="int" enum="Mesh.PrimitiveType" />
|
|
|
|
<argument index="1" name="arrays" type="Array" />
|
|
|
|
<argument index="2" name="blend_shapes" type="Array" default="[]" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<argument index="3" name="lods" type="Dictionary" default="{
|
2021-07-30 15:28:05 +02:00
|
|
|
}" />
|
|
|
|
<argument index="4" name="material" type="Material" default="null" />
|
|
|
|
<argument index="5" name="name" type="String" default="""" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="clear">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="void" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_blend_shape_count" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="int" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_blend_shape_mode" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="int" enum="Mesh.BlendShapeMode" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_blend_shape_name" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="String" />
|
|
|
|
<argument index="0" name="blend_shape_idx" type="int" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-03-25 12:19:51 +01:00
|
|
|
<method name="get_lightmap_size_hint" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="Vector2i" />
|
2021-03-25 12:19:51 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-01-04 14:33:44 +01:00
|
|
|
<method name="get_mesh">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="ArrayMesh" />
|
|
|
|
<argument index="0" name="arg0" type="Mesh" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_surface_arrays" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="Array" />
|
|
|
|
<argument index="0" name="surface_idx" type="int" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_surface_blend_shape_arrays" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="Array" />
|
|
|
|
<argument index="0" name="surface_idx" type="int" />
|
|
|
|
<argument index="1" name="blend_shape_idx" type="int" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_surface_count" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="int" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_surface_lod_count" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="surface_idx" type="int" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_surface_lod_indices" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="PackedInt32Array" />
|
|
|
|
<argument index="0" name="surface_idx" type="int" />
|
|
|
|
<argument index="1" name="lod_idx" type="int" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_surface_lod_size" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="float" />
|
|
|
|
<argument index="0" name="surface_idx" type="int" />
|
|
|
|
<argument index="1" name="lod_idx" type="int" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_surface_material" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="Material" />
|
|
|
|
<argument index="0" name="surface_idx" type="int" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_surface_name" qualifiers="const">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="String" />
|
|
|
|
<argument index="0" name="surface_idx" type="int" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_surface_primitive_type">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="int" enum="Mesh.PrimitiveType" />
|
|
|
|
<argument index="0" name="surface_idx" type="int" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_blend_shape_mode">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="mode" type="int" enum="Mesh.BlendShapeMode" />
|
2021-01-04 14:33:44 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-03-25 12:19:51 +01:00
|
|
|
<method name="set_lightmap_size_hint">
|
2021-07-30 15:28:05 +02:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="size" type="Vector2i" />
|
2021-03-25 12:19:51 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-01-04 14:33:44 +01:00
|
|
|
</methods>
|
|
|
|
<members>
|
2019-09-24 19:45:03 +02:00
|
|
|
<member name="_data" type="Dictionary" setter="_set_data" getter="_get_data" default="{"surfaces": []}">
|
2021-01-04 14:33:44 +01:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|