diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-15 21:20:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 21:20:58 +0200 |
commit | 421d8b716db25a7556d428b7bb210ce4d94caa0b (patch) | |
tree | 329b8a6f9085a5fb8499ca96a3bb4199a7de468e /doc/classes/ImporterMesh.xml | |
parent | d82c227e2b5914cb4042c11411c7e21ed403896c (diff) | |
parent | 03b896c992fe0c488f361ce6106b32c43d9aae75 (diff) |
Merge pull request #61952 from V-Sekai/custom-docs
`SurfaceTool.set_custom_format` Fixes and documentation.
Diffstat (limited to 'doc/classes/ImporterMesh.xml')
-rw-r--r-- | doc/classes/ImporterMesh.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/classes/ImporterMesh.xml b/doc/classes/ImporterMesh.xml index 90e7df4421..00601cec75 100644 --- a/doc/classes/ImporterMesh.xml +++ b/doc/classes/ImporterMesh.xml @@ -39,6 +39,16 @@ Removes all surfaces and blend shapes from this [ImporterMesh]. </description> </method> + <method name="generate_lods"> + <return type="void" /> + <argument index="0" name="normal_merge_angle" type="float" /> + <argument index="1" name="normal_split_angle" type="float" /> + <description> + Generates all lods for this ImporterMesh. + [code]normal_merge_angle[/code] and [code]normal_split_angle[/code] are in degrees and used in the same way as the importer settings in [code]lods[/code]. As a good default, use 25 and 60 respectively. + The number of generated lods can be accessed using [method get_surface_lod_count], and each LOD is available in [method get_surface_lod_size] and [method get_surface_lod_indices]. + </description> + </method> <method name="get_blend_shape_count" qualifiers="const"> <return type="int" /> <description> |