v12.0 (2014)
Creates a shot camera based from a source viewport and sets it as the camera of another viewport
oReturn = CreateShotCameraAndSwitch( Viewport, CameraName, DestViewport, [WithoutInterest] ); |
Returns the new camera object
Parameter | Type | Description |
---|---|---|
Viewport | siViewport | The source Viewport, leaving a blank string will cause the function to duplicate the current active viewport camera |
CameraName | String | Name to give the new camera |
DestViewport | siViewport | Viewport to set the active camera to |
WithoutInterest | Boolean | Switch to create a camera with or without an interest
Default Value: true |