# fsCameraGet The `fsCameraGet` function is used to get the current camera settings, regardless of whether it has been acquired or not.   ##### Syntax ``` wasm bool fsCameraGet( int referential, FsCameraData* pOut ); ```   ##### Members
ParametersDescription
referential

The referential to use for the camera position values (including the camera "target" position values, if used), can be one of the following FsPositionReferential enum members:

  1. FS_POSITION_REFERENTIAL_SIMOBJECT - The position is an offset from the simobject position (expressed in meters).
  2. FS_POSITION_REFERENTIAL_SIMOBJECT_DATUM - The position is an offset from the aircraft Datum Reference Point (expressed in meters).
  3. FS_POSITION_REFERENTIAL_WORLD - The position is expressed using latitude, longitude, and altitude.
  4. FS_POSITION_REFERENTIAL_EYEPOINT - The position is an offset from the aircraft pilot eyepoint (expressed in meters).
pOutThis will contain a pointer to a FsCameraData struct with information on the current camera. The memory for this must be allocated by the client.
  ##### Return Values The function returns `false` if it was not possible to send the request, otherwise it will return `true`.   ##### Example Request camera data: ``` wasm FsCameraData cameraData = {}; if (!fsCameraGet(FS_POSITION_REFERENTIAL_AIRCRAFT, &cameraData)) { printf("Error getting camera data"); return true; } ```   ##### Remarks N/A