Admin Production ni-theme
Current Publication

OGLATTR_VIEW_DISTANCE

LabWindows/CVI

OGLATTR_VIEW_DISTANCE

Data Type: decimal
Access:read/write
Functions:OGLGetCtrlAttribute
OGLSetCtrlAttribute
Description: Specifies the distance between the view position and the view center. The view center is defined by the attributes OGLATTR_VIEW_CENTERX, OGLATTR_VIEW_CENTERY, and OGLATTR_VIEW_CENTERZ. The units for the view distance is based on the coordinate system defined by the plot area attributes OGLATTR_PLOTAREA_XSIZE, OGLATTR_PLOTAREA_YSIZE, and OGLATTR_PLOTAREA_ZSIZE. This attribute can be used to zoom into or out of the scene. This attribute has no effect if the attribute OGLATTR_VIEW_AUTO_DISTANCE is set to 1.
LabWindows/CVI
Compatibility:
LabWindows/CVI 5.0 and later