Bladeren bron

Merge pull request #93872 from MikhailY0U/patch-1

Clarify that the `Mesh.ARRAY_NORMAL` array will normalize its contents internally
Rémi Verschelde 1 jaar geleden
bovenliggende
commit
0c6aa7aeef
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  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.