Creates a new CameraRig object given a camera preset name/object and a rig name. The CameraRig is parented under this X3DObject.
CameraRig X3DObject.AddCameraRig( Object in_Preset, String in_name ); |
oReturn = X3DObject.AddCameraRig( Preset, [Name] ); |
Parameter | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Preset | Camera Primitive Preset |
Preset for type of camera
|
||||||||||
Name | String | Name of new CameraRig |
set oRoot = Application.ActiveProject.ActiveScene.Root set oCamrig = oRoot.AddCameraRig( "Camera", "MyCameraRig" ) |