Vizard 8 » Command Index » Vizard objects » node3d » <node3d:text3d>.resolution
8.0

<node3d:text3d>.resolution

This will set the resolution of the text object

<node3d:text3d>.resolution(  
res  
)  
res
A number between 0 and 1 representing the resolution, 1 being the highest resolution.

Remarks

The text objects initial resolution is 0.25 . The higher the resolution, the sharper the edges of the text object. However, the higher the resolution the more texture memory it will take up.

Return Value

None

Example

text = viz.addText('Some Message')
text.resolution(1) # Make the text object really sharp

See also

<node3d:text3d>.font