diff options
author | Mikhail Volodin <141241717+MikhailY0U@users.noreply.github.com> | 2024-07-02 21:31:29 +0300 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-07-04 10:55:43 +0200 |
commit | 6e9de8211014cca54d4fdf54f95e519e91848974 (patch) | |
tree | cfa19c4442624a7e1d19c2bd5a32ff09fca90583 | |
parent | f0d15bbfdfde1c1076903afb7a7db373580d5534 (diff) | |
download | redot-engine-6e9de8211014cca54d4fdf54f95e519e91848974.tar.gz |
Clarify that the `Mesh.ARRAY_NORMAL` array will normalize its contents internally
-rw-r--r-- | doc/classes/Mesh.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Mesh.xml b/doc/classes/Mesh.xml index 6b5a50d97b..7f4dd5af37 100644 --- a/doc/classes/Mesh.xml +++ b/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. |