Vizard 8 » Command Index » Vizard modules » viz » <viz>.normal
8.1

<viz>.normal

Sets the normal vector when creating On-The-Fly objects

<viz>.normal(  
[x,y,z]  
)  
[x,y,z]
The normal vector

Remarks

This command is part of the On-The-Fly family of commands. Use this family of commands to build your own On-The-Fly OpenGL based primitives that get added to your scene. It must be called within the <viz>.startLayer and <viz>.endLayer commands. Call this command before calling <viz>.vertex to set the normal vector of the vertex.

Return Value

None

See also

<viz>.startLayer
<viz>.endLayer
<viz>.vertex
<viz>.vertexColor
<viz>.texCoord
<viz>.lineWidth
<viz>.pointSize