summaryrefslogtreecommitdiffstats
path: root/doc/classes/ArrayMesh.xml
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2023-01-07 20:37:21 +0100
committerJuan Linietsky <reduzio@gmail.com>2023-01-08 18:47:48 +0100
commit47592927b31b7655b55383d72665c94176008477 (patch)
tree2e43064219ca64a24ad6ef3e45a599c9ca48c378 /doc/classes/ArrayMesh.xml
parentfcba87e696d58912838d8a4a6987b10efa28e78f (diff)
downloadredot-engine-47592927b31b7655b55383d72665c94176008477.tar.gz
Use BitField<> hint for ArrayFormat
This was missing in the conversion of bitflags to BitField<>.
Diffstat (limited to 'doc/classes/ArrayMesh.xml')
-rw-r--r--doc/classes/ArrayMesh.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/ArrayMesh.xml b/doc/classes/ArrayMesh.xml
index 70ce4ad516..f7764d5e32 100644
--- a/doc/classes/ArrayMesh.xml
+++ b/doc/classes/ArrayMesh.xml
@@ -65,7 +65,7 @@
<param index="1" name="arrays" type="Array" />
<param index="2" name="blend_shapes" type="Array[]" default="[]" />
<param index="3" name="lods" type="Dictionary" default="{}" />
- <param index="4" name="compress_flags" type="int" default="0" />
+ <param index="4" name="compress_flags" type="int" enum="Mesh.ArrayFormat" default="0" />
<description>
Creates a new surface.
Surfaces are created to be rendered using a [param primitive], which may be any of the types defined in [enum Mesh.PrimitiveType]. (As a note, when using indices, it is recommended to only use points, lines, or triangles.) [method Mesh.get_surface_count] will become the [code]surf_idx[/code] for this new surface.
@@ -141,7 +141,7 @@
</description>
</method>
<method name="surface_get_format" qualifiers="const">
- <return type="int" />
+ <return type="int" enum="Mesh.ArrayFormat" />
<param index="0" name="surf_idx" type="int" />
<description>
Returns the format mask of the requested surface (see [method add_surface_from_arrays]).