#include<kfbxglobalcamerasettings.h>
List of all members.
Detailed Description
This class contains the global camera settings.
Definition at line70of filekfbxglobalcamerasettings.h.
Member Enumeration Documentation
Error identifiers Most of these are only used internally.
- eNULL_PARAMETER
- eUNKNOWN_CAMERA_NAME
- eERROR_COUNT
Definition at line223of filekfbxglobalcamerasettings.h.
Member Function Documentation
bool SetDefaultCamera | ( | char * | pCameraName | ) | |
Set the default camera.
- Parameters:
| pCameraName | Name of the default camera. |
- Returns:
true
if camera name is valid,false
otherwise.
char* GetDefaultCamera | ( | | ) | |
Get default camera name.
- Returns:
- The default camera name, or an empty string if the camera name has not been set
void RestoreDefaultSettings | ( | | ) | |
Restore default settings.
Set default viewing mode.
- Parameters:
| pViewingMode | Set default viewing mode to either eSTANDARD, eXRAY or eMODELS_ONLY. |
Get default viewing mode.
- Returns:
- The currently set Viewing mode.
void CreateProducerCameras | ( | | ) | |
Create the default producer cameras.
void DestroyProducerCameras | ( | | ) | |
Destroy the default producer cameras.
Check if the camera is one of the producer cameras.
- Parameters:
- Returns:
- true if it is a producer camera false if not
Get the camera switcher node.
- Returns:
- Pointer to the camera switcher
Camera indices start at 1. Out of range indices are clamped between 1 and the number of cameras in the scene. The index of a camera refers to its order of appearance when searching the node tree depth first.
Use functionKFbxTakeNode::GetCameraIndex()to get and set the camera index. If a camera is added or removed after camera indices have been set, the camera indices must be updated. It's much simpler to set the camera indices once all cameras have been set.
Camera index keys must be set with constant interpolation to make sure camera switches occur exaclty at key time.
Set the camera the camera switcher.
- Parameters:
| pSwitcher | The camera switcher to be set. |
Get a reference to producer perspective camera.
- Returns:
- The reference to the internal Perspective camera.
Get a reference to producer top camera.
- Returns:
- The reference to the internal Top camera.
Get a reference to producer bottom camera.
- Returns:
- The reference to the internal Bottom camera.
Get reference to producer front camera.
- Returns:
- The reference to the internal Front camera.
Get reference to producer back camera.
- Returns:
- The reference to the internal Back camera.
Get reference to producer right camera.
- Returns:
- The reference to the internal Right camera.
Get reference to producer left camera.
- Returns:
- The reference to the internal Left camera.
Assignment operator.
- Parameters:
Retrieve error object.
- Returns:
- Reference to error object.
Get last error code.
- Returns:
- Last error code.
const char* GetLastErrorString | ( | | ) | const |
Get last error string.
- Returns:
- Textual description of the last error.