2
0
Эх сурвалжийг харах

Clarify that the `Mesh.ARRAY_NORMAL` array will normalize its contents internally

Mikhail Volodin 1 жил өмнө
parent
commit
6e9de82110
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      doc/classes/Mesh.xml

+ 1 - 0
doc/classes/Mesh.xml

@@ -223,6 +223,7 @@
 		</constant>
 		<constant name="ARRAY_NORMAL" value="1" enum="ArrayType">
 			[PackedVector3Array] of vertex normals.
+			[b]Note:[/b] The array has to consist of normal vectors, otherwise they will be normalized by the engine, potentially causing visual discrepancies.
 		</constant>
 		<constant name="ARRAY_TANGENT" value="2" enum="ArrayType">
 			[PackedFloat32Array] of vertex tangents. Each element in groups of 4 floats, first 3 floats determine the tangent, and the last the binormal direction as -1 or 1.