FsCameraData
This struct is used to send or receive data about the add-on camera using the fsCameraSet and fsCameraGet functions.
Syntax
struct FsCameraData
{
FsVec3d Pos;
FsVec3d TargetedPos;
FsPBH Pbh;
double fov;
int referential;
};
Members
| Stuct Member | Description |
|---|---|
Pos |
A 3 value vector (x, y, z) defining the position of the camera. The units and values returned will depend of the selected referential. |
TargetedPos |
A 3 value vector (x, y, z) defining the "target" position for the camera. This is used to define a "look at" point for the camera direction/orientation. The units and values returned will depend of the selected referential. Note that if you set a target position, it will override any values given for Pbh. |
Pbh |
A 3 value vector (p, b, h) defining the camera pitch, bank, and heading, in degrees. Note when setting values, if TargetedPos is set, it will override the values given here. |
fov |
The camera field of view, in radians. |
referential |
The reference used to define the
|
Remarks
N/A
Related Topics
0/255