Setup Camera
- Updated2026-02-04
- 2 minute(s) read
Specifies the position of the camera relative to the scene. This method modifies the ModelView Matrix.
Parameters
| Name | Data type | Required | Description |
|---|---|---|---|
| Camera Position | ![]() |
Yes | Sets the x, y, and z coordinates that define the initial position of the camera. The default coordinate values are [0, 0, -4]. |
| Target | ![]() |
Yes | Sets 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 Direction | ![]() |
Yes | Sets 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.
| Short Name | Setup Camera |
| Data type | No return value |
| Available in Run-Time Engine | Yes |
| Available in Real-Time Operating System | No |
| Settable when the VI is running | Yes |
| Loads the front panel into memory | No |
| Need to authenticate before use | No |
| Loads the block diagram into memory | No |
| Remote access allowed | Yes |
