Creates a new LightRig object given a light preset name/object and a rig name. The LightRig is parented under this X3DObject.
oReturn = X3DObject.AddLightRig( Preset, [Name] ); |
Parameter | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Preset | Light Primitive Preset | Preset for type of light
|
||||||||||||||||||||
Name | String | name of new LightRig |
var oLightrig = Application.ActiveSceneRoot.AddCameraRig( "Neon", "MyLightRig" ) ; |
set oRoot = Application.ActiveProject.ActiveScene.Root set oSpotrig = oRoot.AddLightRig( "Spot", "MySpotLightRig" ) |