소스 검색

update set_smooth_group description

fixes https://github.com/godotengine/godot/issues/74452
Tae Hong Ahn 2 년 전
부모
커밋
5a775ac08c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      doc/classes/SurfaceTool.xml

+ 1 - 0
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">