poIRenderOptions SetLightingMode

Sets the current lighting mode.

Syntax

poIRenderOptions_handle SetLightingMode mode

Application

HyperView Tcl Modify

Description

This command sets the current lighting mode.

Inputs

mode
0 for Single light mode. 1 for Multi-light CAE mode. 2 for Multi-light CAD mode.

Example

To set the current lighting mode to Multi-light CAE mode:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetClientManagerHandle anim_handle animation
anim_handle GetRenderOptionsHandle render_handle
render_handle SetLightingMode 1
hwi CloseStack

Errors

None.