Fix get_doc_classes, and extract classref.

This commit is contained in:
Relintai 2020-04-18 02:38:43 +02:00
parent 58d46884a4
commit f6d3d65cc6
2 changed files with 64 additions and 38 deletions

View File

@ -32,44 +32,7 @@ def configure(env):
def get_doc_classes():
return [
"WorldArea",
"GroundClutterFoliage",
"GroundClutter",
"VoxelmanQueue",
"VoxelmanUnboundedQueue",
"VoxelLight",
"VoxelmanLevelGenerator",
"VoxelSurfaceMerger",
"VoxelSurfaceSimple",
"VoxelSurface",
"VoxelmanLibraryMerger",
"VoxelmanLibrarySimple",
"VoxelmanLibrary",
"VoxelCubePoints",
"VoxelMesherCubic",
"TransvoxelCellData",
"VoxelMeshData",
"VoxelMesherTransvoxel",
"VoxelMesher",
"PropDataEntity",
"PropDataEntry",
"PropDataLight",
"PropDataMesh",
"PropDataProp",
"PropDataScene",
"PropData",
"EnvironmentData",
"VoxelChunkPropData",
"VoxelChunk",
"VoxelStructure",
"VoxelWorld",
"FastQuadraticMeshSimplifier",
]
def get_doc_path():

View File

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="FastQuadraticMeshSimplifier" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="get_arrays">
<return type="Array">
</return>
<description>
</description>
</method>
<method name="initialize">
<return type="void">
</return>
<argument index="0" name="arrays" type="Array">
</argument>
<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>
<description>
</description>
</method>
<method name="simplify_mesh_lossless">
<return type="void">
</return>
<argument index="0" name="verbose" type="bool" default="false">
</argument>
<description>
</description>
</method>
</methods>
<members>
<member name="enable_smart_link" type="bool" setter="set_enable_smart_link" getter="get_enable_smart_link" default="false">
</member>
<member name="format" type="int" setter="set_format" getter="get_format" default="0">
</member>
<member name="max_iteration_count" type="int" setter="set_max_iteration_count" getter="get_max_iteration_count" default="100">
</member>
<member name="max_lossless_iteration_count" type="int" setter="set_max_lossless_iteration_count" getter="get_max_lossless_iteration_count" default="9990">
</member>
<member name="preserve_border_edges" type="bool" setter="set_preserve_border_edges" getter="get_preserve_border_edges" default="false">
</member>
<member name="preserve_uv_foldover_edges" type="bool" setter="set_preserve_uv_foldover_edges" getter="get_preserve_uv_foldover_edges" default="false">
</member>
<member name="preserve_uv_seam_edges" type="bool" setter="set_preserve_uv_seam_edges" getter="get_preserve_uv_seam_edges" default="false">
</member>
</members>
<constants>
</constants>
</class>