Creates a new LightRig object given a light preset name/object and a rig name. The LightRig is parented under this X3DObject.
LightRig X3DObject.AddLightRig( Object in_Preset, String in_name ); |
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" ) |