Re-extracted the docs.

This commit is contained in:
Relintai 2022-01-12 22:11:15 +01:00
parent 461c2a80a1
commit ad13f297a3
3 changed files with 119 additions and 191 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="FastQuadraticMeshSimplifier" inherits="Reference" version="3.2">
<class name="FastQuadraticMeshSimplifier" inherits="Reference" version="3.5">
<brief_description>
</brief_description>
<description>
@ -8,36 +8,27 @@
</tutorials>
<methods>
<method name="get_arrays">
<return type="Array">
</return>
<return type="Array" />
<description>
</description>
</method>
<method name="initialize">
<return type="void">
</return>
<argument index="0" name="arrays" type="Array">
</argument>
<return type="void" />
<argument index="0" name="arrays" type="Array" />
<description>
</description>
</method>
<method name="simplify_mesh">
<return type="void">
</return>
<argument index="0" name="target_count" type="int">
</argument>
<argument index="1" name="agressiveness" type="float" default="7">
</argument>
<argument index="2" name="verbose" type="bool" default="false">
</argument>
<return type="void" />
<argument index="0" name="target_count" type="int" />
<argument index="1" name="agressiveness" type="float" default="7" />
<argument index="2" name="verbose" type="bool" default="false" />
<description>
</description>
</method>
<method name="simplify_mesh_lossless">
<return type="void">
</return>
<argument index="0" name="verbose" type="bool" default="false">
</argument>
<return type="void" />
<argument index="0" name="verbose" type="bool" default="false" />
<description>
</description>
</method>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="MeshMerger" inherits="Reference" version="3.2">
<class name="MeshMerger" inherits="Reference" version="3.5">
<brief_description>
</brief_description>
<description>
@ -8,332 +8,253 @@
</tutorials>
<methods>
<method name="_add_mesher" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="mesher" type="MeshMerger">
</argument>
<return type="void" />
<argument index="0" name="mesher" type="MeshMerger" />
<description>
</description>
</method>
<method name="add_bone_weights">
<return type="void">
</return>
<argument index="0" name="arr" type="PoolRealArray">
</argument>
<return type="void" />
<argument index="0" name="arr" type="PoolRealArray" />
<description>
</description>
</method>
<method name="add_bones">
<return type="void">
</return>
<argument index="0" name="arr" type="PoolIntArray">
</argument>
<return type="void" />
<argument index="0" name="arr" type="PoolIntArray" />
<description>
</description>
</method>
<method name="add_color">
<return type="void">
</return>
<argument index="0" name="color" type="Color">
</argument>
<return type="void" />
<argument index="0" name="color" type="Color" />
<description>
</description>
</method>
<method name="add_indices">
<return type="void">
</return>
<argument index="0" name="indice" type="int">
</argument>
<return type="void" />
<argument index="0" name="indice" type="int" />
<description>
</description>
</method>
<method name="add_mesh_data_resource">
<return type="void">
</return>
<argument index="0" name="mesh" type="MeshDataResource">
</argument>
<argument index="1" name="transform" type="Transform" default="Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )">
</argument>
<argument index="2" name="uv_rect" type="Rect2" default="Rect2( 0, 0, 1, 1 )">
</argument>
<return type="void" />
<argument index="0" name="mesh" type="MeshDataResource" />
<argument index="1" name="transform" type="Transform" default="Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )" />
<argument index="2" name="uv_rect" type="Rect2" default="Rect2( 0, 0, 1, 1 )" />
<description>
</description>
</method>
<method name="add_mesh_data_resource_bone">
<return type="void">
</return>
<argument index="0" name="mesh" type="MeshDataResource">
</argument>
<argument index="1" name="bones" type="PoolIntArray">
</argument>
<argument index="2" name="wrights" type="PoolRealArray">
</argument>
<argument index="3" name="transform" type="Transform" default="Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )">
</argument>
<argument index="4" name="uv_rect" type="Rect2" default="Rect2( 0, 0, 1, 1 )">
</argument>
<return type="void" />
<argument index="0" name="mesh" type="MeshDataResource" />
<argument index="1" name="bones" type="PoolIntArray" />
<argument index="2" name="wrights" type="PoolRealArray" />
<argument index="3" name="transform" type="Transform" default="Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )" />
<argument index="4" name="uv_rect" type="Rect2" default="Rect2( 0, 0, 1, 1 )" />
<description>
</description>
</method>
<method name="add_mesher">
<return type="void">
</return>
<argument index="0" name="mesher" type="MeshMerger">
</argument>
<return type="void" />
<argument index="0" name="mesher" type="MeshMerger" />
<description>
</description>
</method>
<method name="add_normal">
<return type="void">
</return>
<argument index="0" name="normal" type="Vector3">
</argument>
<return type="void" />
<argument index="0" name="normal" type="Vector3" />
<description>
</description>
</method>
<method name="add_uv">
<return type="void">
</return>
<argument index="0" name="uv" type="Vector2">
</argument>
<return type="void" />
<argument index="0" name="uv" type="Vector2" />
<description>
</description>
</method>
<method name="add_uv2">
<return type="void">
</return>
<argument index="0" name="uv" type="Vector2">
</argument>
<return type="void" />
<argument index="0" name="uv" type="Vector2" />
<description>
</description>
</method>
<method name="add_vertex">
<return type="void">
</return>
<argument index="0" name="vertex" type="Vector3">
</argument>
<return type="void" />
<argument index="0" name="vertex" type="Vector3" />
<description>
</description>
</method>
<method name="build_collider" qualifiers="const">
<return type="PoolVector3Array">
</return>
<return type="PoolVector3Array" />
<description>
</description>
</method>
<method name="build_mesh">
<return type="Array">
</return>
<return type="Array" />
<description>
</description>
</method>
<method name="build_mesh_into">
<return type="void">
</return>
<argument index="0" name="mesh_rid" type="RID">
</argument>
<return type="void" />
<argument index="0" name="mesh_rid" type="RID" />
<description>
</description>
</method>
<method name="generate_normals">
<return type="void">
</return>
<argument index="0" name="flip" type="bool" default="false">
</argument>
<return type="void" />
<argument index="0" name="flip" type="bool" default="false" />
<description>
</description>
</method>
<method name="get_bone_weights" qualifiers="const">
<return type="PoolRealArray">
</return>
<argument index="0" name="idx" type="int">
</argument>
<return type="PoolRealArray" />
<argument index="0" name="idx" type="int" />
<description>
</description>
</method>
<method name="get_bones" qualifiers="const">
<return type="PoolIntArray">
</return>
<argument index="0" name="idx" type="int">
</argument>
<return type="PoolIntArray" />
<argument index="0" name="idx" type="int" />
<description>
</description>
</method>
<method name="get_color" qualifiers="const">
<return type="Color">
</return>
<argument index="0" name="idx" type="int">
</argument>
<return type="Color" />
<argument index="0" name="idx" type="int" />
<description>
</description>
</method>
<method name="get_colors" qualifiers="const">
<return type="PoolColorArray">
</return>
<return type="PoolColorArray" />
<description>
</description>
</method>
<method name="get_index" qualifiers="const">
<return type="int">
</return>
<argument index="0" name="idx" type="int">
</argument>
<return type="int" />
<argument index="0" name="idx" type="int" />
<description>
</description>
</method>
<method name="get_indices" qualifiers="const">
<return type="PoolIntArray">
</return>
<return type="PoolIntArray" />
<description>
</description>
</method>
<method name="get_indices_count" qualifiers="const">
<return type="int">
</return>
<return type="int" />
<description>
</description>
</method>
<method name="get_normal" qualifiers="const">
<return type="Vector3">
</return>
<argument index="0" name="idx" type="int">
</argument>
<return type="Vector3" />
<argument index="0" name="idx" type="int" />
<description>
</description>
</method>
<method name="get_normals" qualifiers="const">
<return type="PoolVector3Array">
</return>
<return type="PoolVector3Array" />
<description>
</description>
</method>
<method name="get_uv" qualifiers="const">
<return type="Vector2">
</return>
<argument index="0" name="idx" type="int">
</argument>
<return type="Vector2" />
<argument index="0" name="idx" type="int" />
<description>
</description>
</method>
<method name="get_uv2" qualifiers="const">
<return type="Vector2">
</return>
<argument index="0" name="idx" type="int">
</argument>
<return type="Vector2" />
<argument index="0" name="idx" type="int" />
<description>
</description>
</method>
<method name="get_uv2s" qualifiers="const">
<return type="PoolVector2Array">
</return>
<return type="PoolVector2Array" />
<description>
</description>
</method>
<method name="get_uvs" qualifiers="const">
<return type="PoolVector2Array">
</return>
<return type="PoolVector2Array" />
<description>
</description>
</method>
<method name="get_vertex" qualifiers="const">
<return type="Vector3">
</return>
<argument index="0" name="idx" type="int">
</argument>
<return type="Vector3" />
<argument index="0" name="idx" type="int" />
<description>
</description>
</method>
<method name="get_vertex_count" qualifiers="const">
<return type="int">
</return>
<return type="int" />
<description>
</description>
</method>
<method name="get_vertices" qualifiers="const">
<return type="PoolVector3Array">
</return>
<return type="PoolVector3Array" />
<description>
</description>
</method>
<method name="remove_doubles">
<return type="void">
</return>
<return type="void" />
<description>
</description>
</method>
<method name="remove_doubles_hashed">
<return type="void">
</return>
<return type="void" />
<description>
</description>
</method>
<method name="remove_index">
<return type="void">
</return>
<argument index="0" name="idx" type="int">
</argument>
<return type="void" />
<argument index="0" name="idx" type="int" />
<description>
</description>
</method>
<method name="remove_vertex">
<return type="void">
</return>
<argument index="0" name="idx" type="int">
</argument>
<return type="void" />
<argument index="0" name="idx" type="int" />
<description>
</description>
</method>
<method name="reset">
<return type="void">
</return>
<return type="void" />
<description>
</description>
</method>
<method name="set_colors">
<return type="void">
</return>
<argument index="0" name="values" type="PoolColorArray">
</argument>
<return type="void" />
<argument index="0" name="values" type="PoolColorArray" />
<description>
</description>
</method>
<method name="set_indices">
<return type="void">
</return>
<argument index="0" name="values" type="PoolIntArray">
</argument>
<return type="void" />
<argument index="0" name="values" type="PoolIntArray" />
<description>
</description>
</method>
<method name="set_normals">
<return type="void">
</return>
<argument index="0" name="values" type="PoolVector3Array">
</argument>
<return type="void" />
<argument index="0" name="values" type="PoolVector3Array" />
<description>
</description>
</method>
<method name="set_uv2s">
<return type="void">
</return>
<argument index="0" name="values" type="PoolVector2Array">
</argument>
<return type="void" />
<argument index="0" name="values" type="PoolVector2Array" />
<description>
</description>
</method>
<method name="set_uvs">
<return type="void">
</return>
<argument index="0" name="values" type="PoolVector2Array">
</argument>
<return type="void" />
<argument index="0" name="values" type="PoolVector2Array" />
<description>
</description>
</method>
<method name="set_vertices">
<return type="void">
</return>
<argument index="0" name="values" type="PoolVector3Array">
</argument>
<return type="void" />
<argument index="0" name="values" type="PoolVector3Array" />
<description>
</description>
</method>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="MeshUtils" inherits="Object" version="3.2">
<class name="MeshUtils" inherits="Object" version="3.5">
<brief_description>
</brief_description>
<description>
@ -8,22 +8,38 @@
</tutorials>
<methods>
<method name="bake_mesh_array_uv" qualifiers="const">
<return type="Array">
</return>
<argument index="0" name="arr" type="Array">
</argument>
<argument index="1" name="tex" type="Texture">
</argument>
<argument index="2" name="mul_color" type="float" default="0.7">
</argument>
<return type="Array" />
<argument index="0" name="arr" type="Array" />
<argument index="1" name="tex" type="Texture" />
<argument index="2" name="mul_color" type="float" default="0.7" />
<description>
</description>
</method>
<method name="merge_mesh_array" qualifiers="const">
<return type="Array">
</return>
<argument index="0" name="arr" type="Array">
</argument>
<return type="Array" />
<argument index="0" name="arr" type="Array" />
<description>
</description>
</method>
<method name="remove_doubles" qualifiers="const">
<return type="Array" />
<argument index="0" name="arr" type="Array" />
<description>
</description>
</method>
<method name="remove_doubles_interpolate_normals" qualifiers="const">
<return type="Array" />
<argument index="0" name="arr" type="Array" />
<description>
</description>
</method>
<method name="uv_unwrap" qualifiers="const">
<return type="PoolVector2Array" />
<argument index="0" name="arr" type="Array" />
<argument index="1" name="block_align" type="bool" default="true" />
<argument index="2" name="texel_size" type="float" default="0.05" />
<argument index="3" name="padding" type="int" default="1" />
<argument index="4" name="max_chart_size" type="int" default="4094" />
<description>
</description>
</method>