فهرست منبع

Merge pull request #42377 from Calinou/doc-surfacetool-vertex-color

Document how to display the vertex color in `SurfaceTool.add_color()`
Rémi Verschelde 4 سال پیش
والد
کامیت
2393fb43c3
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      doc/classes/SurfaceTool.xml

+ 1 - 0
doc/classes/SurfaceTool.xml

@@ -38,6 +38,7 @@
 			</argument>
 			</argument>
 			<description>
 			<description>
 				Specifies a [Color] for the next vertex to use.
 				Specifies a [Color] for the next vertex to use.
+				[b]Note:[/b] The material must have [member BaseMaterial3D.vertex_color_use_as_albedo] enabled for the vertex color to be visible.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="add_index">
 		<method name="add_index">