Setup Camera Method

Short Name: Setup Camera

Requires: Full Development System

Class: SceneWindow Methods

To Use: Create a method.

Specifies the position of the camera relative to the scene.

Parameters

Data typeNameRequiredDescription
Camera PositionYesSets the x, y, and z coordinates that define the initial position of the camera. The default coordinate values are [0, 0, -4].
TargetYesSets the x, y, and z coordinates that define the point in the scene that the camera faces and around which a spherical camera rotates. The default coordinate values are [0, 0, 0].
Up DirectionYesSets the x, y, and z coordinates that define the axis that the top of the camera faces. The default coordinate values are [0, 1, 0].

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemNo
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes