plt3DIPlot SetLighting

Turns lighting and shadows on and off.

Syntax

plt3DIPlot_handle SetLighting state

Application

Tcl Query

Description

Turns lighting and shadows on and off.

Inputs

state
True
Displays lighting and shadows.
False
Turns off lighting and shadows.

Example

hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName [myProjectName GetActivePage]
myPageName GetWindowHandle myWindowName [myPageName GetActiveWindow]
myWindowName GetClientHandle myPlotName
myPlotName SetLighting true

Errors

Success (0) or an error code.