EnvironmentAmbientIntensity Option

 

The EnvironmentAmbientIntensity option changes the intensity of the background light shown in the Viewer window. The OptionValue is a number from 0 to 1.

 

Syntax

object.Construct(“ModifyModule”)

object.Option(“Module”, “Viewer Window”)

object.Option(“EnvironmentAmbientIntensity”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example shows how to alter the Viewer window ambient intensity setting.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "Viewer Window")

  CommandApi.Option ("EnvironmentAmbientIntensity", "0.4")

  CommandApi.Do()

 

Used by: Environment

 

 

See Also

Automation Model