X3DObject.AddCameraRig

Description

Creates a new CameraRig object given a camera preset name/object and a rig name. The CameraRig is parented under this X3DObject.

C# Syntax

CameraRig X3DObject.AddCameraRig( Object in_Preset, String in_name );

Scripting Syntax

oReturn = X3DObject.AddCameraRig( Preset, [Name] );

Return Value

CameraRig

Parameters

Parameter Type Description
Preset Camera Primitive Preset Preset for type of camera

Possible Values:

Description:

Camera Perspective camera
Orthographic Orthographic camera
Telephoto Telephoto camera
Wide_Angle Wide angle camera
Name String Name of new CameraRig

Examples

VBScript Example

set oRoot = Application.ActiveProject.ActiveScene.Root
set oCamrig = oRoot.AddCameraRig( "Camera", "MyCameraRig" )