# SIMCONNECT_CAMERA_DATA_MASK The **SIMCONNECT\_CAMERA\_DATA\_MASK** enum used to create a bitmask for use with the `SimConnect_CameraSet` function, telling the simulation which camera struct members are being set.   ##### Syntax ``` cpp enum SIMCONNECT_CAMERA_DATA_MASK { SIMCONNECT_CAMERA_DATA_MASK_NONE = 0x00; SIMCONNECT_CAMERA_DATA_MASK_POSITION = 0x01; SIMCONNECT_CAMERA_DATA_MASK_ROTATION = 0x02; SIMCONNECT_CAMERA_DATA_MASK_TARGETED = 0x04; SIMCONNECT_CAMERA_DATA_MASK_FOV = 0x08; SIMCONNECT_CAMERA_DATA_MASK_REFERENTIAL = 0x10; SIMCONNECT_CAMERA_DATA_MASK_ALL_ROTATION = SIMCONNECT_CAMERA_DATA_MASK_POSITION | SIMCONNECT_CAMERA_DATA_MASK_ROTATION | SIMCONNECT_CAMERA_DATA_MASK_FOV | SIMCONNECT_CAMERA_DATA_MASK_REFERENTIAL; SIMCONNECT_CAMERA_DATA_MASK_ALL_TARGETED = SIMCONNECT_CAMERA_DATA_MASK_POSITION | SIMCONNECT_CAMERA_DATA_MASK_TARGETED | SIMCONNECT_CAMERA_DATA_MASK_FOV | SIMCONNECT_CAMERA_DATA_MASK_REFERENTIAL; } ```   ##### Members {{< table-wrapper >}} | Member | Description | |---------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `SIMCONNECT_CAMERA_DATA_MASK_NONE` | No data mask is applied (not used). | | `SIMCONNECT_CAMERA_DATA_MASK_POSITION` | The camera position flag (position is either in x/y/z/ meters or lat/lon/alt, depending on the referential used). | | `SIMCONNECT_CAMERA_DATA_MASK_ROTATION` | The camera rotation flag (rotation is given as pitch/bank/heading in degrees). Note that if this is used then `SIMCONNECT_CAMERA_DATA_MASK_TARGETED` should not be used, otherwise `SIMCONNECT_CAMERA_DATA_MASK_TARGETED` takes priority and will overwrite the pitch/bank/heading values. | | `SIMCONNECT_CAMERA_DATA_MASK_TARGETED` | The camera "target" position flag (target position is either in x/y/z/ meters or lat/lon/alt, depending on the referential used). The camera rotation will be calculated as the direction/orientation between the *position* and the *target position*. Note that if this is used then `SIMCONNECT_CAMERA_DATA_MASK_ROTATION` is *not* used, and any values given for this will override the pitch/bank/heading rotation values even if they are included. | | `SIMCONNECT_CAMERA_DATA_MASK_FOV` | The camera field of view flag (the value used for FOV is *radians*). | | `SIMCONNECT_CAMERA_DATA_MASK_REFERENTIAL` | The camera referential flag. | | `SIMCONNECT_CAMERA_DATA_MASK_ALL_ROTATION` | The "all parameters" flag using *rotation* to set the camera "look at" direction/orientation (ie: get/set all the above parameters, *except* `SIMCONNECT_CAMERA_DATA_MASK_TARGETED`). | | `SIMCONNECT_CAMERA_DATA_MASK_ALL_TARGETED` | The "all parameters" flag using *target position* to set the camera "look at" direction/orientation (ie: get/set all the above parameters, *except* `SIMCONNECT_CAMERA_DATA_MASK_ALL_ROTATION`). | {{< /table-wrapper >}}   ##### Remarks N/A