poIRenderOptions SetStereoPerspectiveAngle

Sets the perspective field of view angle when the stereoscopic display is enabled.

Syntax

poIRenderOptions_handle SetStereoPerspectiveAngle arg1

Application

HyperView Tcl Modify

Description

This command sets the perspective field of view angle when the stereoscopic display is enabled.

Inputs

arg1
The field of view angle in degrees. The valid range is from 5 to 45.

Example

To get the current stereoscopic perspective angle:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetRenderOptionsHandle render_options
render_options SetStereoPerspectiveAngle 30
hwi CloseStack

Errors

Returns a value of "3" if the handle is invalid.