From d41a4089c642584ff97b12e2f1321fea7591573d Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Sat, 28 Jul 2018 10:34:31 +1000 Subject: Added a method to find the index for a surface with a given name --- doc/classes/ArrayMesh.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'doc/classes') diff --git a/doc/classes/ArrayMesh.xml b/doc/classes/ArrayMesh.xml index d805629b3d..5ccf0b55aa 100644 --- a/doc/classes/ArrayMesh.xml +++ b/doc/classes/ArrayMesh.xml @@ -40,18 +40,21 @@ + Centers the geometry. + Remove all blend shapes from this [code]ArrayMesh[/code]. + Returns the number of blend shapes that the [code]ArrayMesh[/code] holds. @@ -60,6 +63,7 @@ + Returns the name of the blend shape at this index. @@ -77,12 +81,23 @@ + Will perform a UV unwrap on the [code]ArrayMesh[/code] to prepare the mesh for lightmapping. + Will regenerate normal maps for the [code]ArrayMesh[/code]. + + + + + + + + + Return the index of the first surface with this name held within this [code]ArrayMesh[/code]. If none are found -1 is returned. @@ -109,6 +124,7 @@ + Returns the arrays for the vertices, normals, uvs, etc. that make up the requested surface (see [method add_surface_from_arrays]). @@ -117,6 +133,7 @@ + Returns the blend shape arrays for the requested surface. @@ -143,6 +160,7 @@ + Get the name assigned to this surface. @@ -171,6 +189,7 @@ + Set a [Material] for a given surface. Surface will be rendered using this material. @@ -181,7 +200,7 @@ - Set a [Material] for a given surface. Surface will be rendered using this material. + Set a name for a given surface. @@ -201,6 +220,7 @@ + An overriding bounding box for this mesh. -- cgit v1.2.3