GetViewCamera
 
 
 

GetViewCamera

Introduced

v5.0

Description

Returns the 3D camera for a given view.

Scripting Syntax

GetViewCamera( [View] );

Parameters

Parameter Type Description
View Integer View

Default Value: -1 (current viewport)

Possible Values:

Description:

-1 Current viewport
0 Viewport A
1 Viewport B
2 Viewport C
3 Viewport D

Examples

VBScript Example

' Get the camera from View A
set l_Camera = GetViewCamera(0)
Application.LogMessage "Camera A: " & l_Camera
'INFO : Camera A: Views.ViewA.TopCamera