Get the normal vector of the specified vertex
| <node3d:onthefly>.getNormal( | |
| index | |
| mode = viz.REL_LOCAL |
)
index
0-based index of the vertex. Negative index can also be used to reference from end of vertex list.
mode = viz.REL_LOCAL
One of the following mode:
Normal modes |
|
viz.REL_LOCAL |
Return the raw normal vector. |
viz.REL_PARENT |
Return the normal vector transformed by the nodes current transform matrix. |
viz.REL_GLOBAL |
Return the normal vector in the global coordinate system. |
This command will return the normal vector of the vertex at the specified index.
Normal vector - [x,y,z]