fsCameraSetUsingCameraDefinition
The fsCameraSetUsingCameraDefinition function is used to set specific parts of the camera struct based on a predefined camera definition from the cameras.cfg file. This function can only be used when the add-on camera has been acquired.
Syntax
bool fsCameraSetUsingCameraDefinition(
const char* cameraDefinitionName
);
Members
| Parameters | Description |
|---|---|
cameraDefinitionName |
This is the Title string of a camera definition to use. |
Return Values
The function returns false if it was not possible to send the request, or true otherwise. If the request was sent but failed, the specified callback will be invoked with an appropriate error code.
Example
N/A
Remarks
The data that will be used from the given camera definition is as follows:
- Position - From the
InitialXyzparameter - Pbh - From the
InitialPbhparameter - FOV - From the
Initialzoomparameter
Related Topics
0/255