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

<viz>.pointSize

Sets the point size for On-The-Fly objects

<viz>.pointSize(  
size  
)  
size
Size of the points (can be fractional pixels if anti-aliased lines is activated).

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. This will set the point size for all the points created for the current On-The-Fly object.

Return Value

None

Example

viz.startLayer(viz.POINTS)
viz.pointSize(8)
viz.vertex(0,1,0)
viz.vertex(3,4,6)
viz.vertex(8,3,1)
viz.endLayer()

See also

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