Setup Camera Method

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

Short Name: Setup Camera

Requires: Full Development System

Class: SceneGraphDisplay Methods

To Use: Create a method.

Specifies the position of the camera relative to the scene. This method modifies the ModelView Matrix.

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

WAS THIS ARTICLE HELPFUL?

Not Helpful