diff options
author | Tae Hong Ahn <33810422+taehong99@users.noreply.github.com> | 2023-04-15 18:25:10 -0400 |
---|---|---|
committer | Tae Hong Ahn <33810422+taehong99@users.noreply.github.com> | 2023-04-15 18:25:10 -0400 |
commit | 5a775ac08cfe02dc8015768bdf69e9e59d85030f (patch) | |
tree | c6f83aa5f10bb4316560fb61bc662449e8d47b3d | |
parent | a7276f1ce0c2911216a2c4718efddab98ddffd8f (diff) | |
download | redot-engine-5a775ac08cfe02dc8015768bdf69e9e59d85030f.tar.gz |
update set_smooth_group description
fixes https://github.com/godotengine/godot/issues/74452
-rw-r--r-- | doc/classes/SurfaceTool.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/SurfaceTool.xml b/doc/classes/SurfaceTool.xml index 0e07d2d023..a919bbdc6e 100644 --- a/doc/classes/SurfaceTool.xml +++ b/doc/classes/SurfaceTool.xml @@ -242,6 +242,7 @@ <param index="0" name="index" type="int" /> <description> Specifies the smooth group to use for the [i]next[/i] vertex. If this is never called, all vertices will have the default smooth group of [code]0[/code] and will be smoothed with adjacent vertices of the same group. To produce a mesh with flat normals, set the smooth group to [code]-1[/code]. + [b]Note:[/b] This function actually takes an [code]uint32_t[/code], so C# users should use [code]uint32.MaxValue[/code] instead of [code]-1[/code] to produce a mesh with flat normals. </description> </method> <method name="set_tangent"> |