v5.1
Sets the active camera for the specified view.
SetViewCamera( CameraName, [View] ); |
Parameter | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CameraName | String |
Name of camera to make active in the view. For pre-defined cameras pass "top", "front", "right", "user", or "render". For scene and spotlight cameras pass the name of the camera or spotlight. |
||||||||||||
View | Integer |
Viewport in which to set the camera. Default Value: -1 (current viewport)
|
' Set the camera in view B to the top camera SetViewCamera "top", 1 set l_Camera = GetViewCamera(1) Application.LogMessage "Camera B: " & l_Camera 'INFO : Camera B: Views.ViewB.TopCamera |