#include <fbxglobalcamerasettings.h>
This class contains the global camera settings.
Definition at line 43 of file fbxglobalcamerasettings.h.
Public Member Functions | |
const FbxGlobalCameraSettings & | operator= (const FbxGlobalCameraSettings &pGlobalCameraSettings) |
Assignment operator. More... | |
Default Camera Settings | |
enum | EViewingMode { eStandard, eXRay, eModelsOnly } |
Viewing modes. More... | |
bool | SetDefaultCamera (const char *pCameraName, FbxStatus *pStatus=NULL) |
Sets the default camera. More... | |
const char * | GetDefaultCamera () const |
Returns the default camera name. More... | |
void | RestoreDefaultSettings () |
Restores the default settings. More... | |
void | SetDefaultViewingMode (EViewingMode pViewingMode) |
Sets the default viewing mode. More... | |
EViewingMode | GetDefaultViewingMode () const |
Returns the default viewing mode. More... | |
Producer Cameras | |
Producer cameras are global cameras in MotionBuilder you use to view the scene. You cannot animate Producer cameras but you can specify their default positions. | |
void | CreateProducerCameras () |
Creates the default Producer cameras. More... | |
void | DestroyProducerCameras () |
Destroys the default Producer cameras. More... | |
bool | IsProducerCamera (FbxCamera *pCamera) const |
Checks if the camera is a Producer camera. More... | |
FbxCamera * | GetCameraProducerPerspective () const |
Returns a reference to the Producer perspective camera. More... | |
FbxCamera * | GetCameraProducerFront () const |
Returns a reference to the Producer front camera. More... | |
FbxCamera * | GetCameraProducerBack () const |
Returns a reference to the Producer back camera. More... | |
FbxCamera * | GetCameraProducerLeft () const |
Returns a reference to the Producer left camera. More... | |
FbxCamera * | GetCameraProducerRight () const |
Returns a reference to the Producer right camera. More... | |
FbxCamera * | GetCameraProducerTop () const |
Returns a reference to the Producer top camera. More... | |
FbxCamera * | GetCameraProducerBottom () const |
Returns a reference to the Producer bottom camera. More... | |
FbxCameraSwitcher * | GetCameraSwitcher () const |
Returns the Camera Switcher. More... | |
void | SetCameraSwitcher (FbxCameraSwitcher *pSwitcher) |
Sets the Camera Switcher. More... | |
enum EViewingMode |
Viewing modes.
Enumerator | |
---|---|
eStandard | |
eXRay | |
eModelsOnly |
Definition at line 51 of file fbxglobalcamerasettings.h.
Sets the default camera.
pCameraName | Name of the default camera. |
pStatus | The FbxStatus object to hold error codes. |
True
if camera name is valid, returns false
if it is not valid. const char* GetDefaultCamera | ( | ) | const |
Returns the default camera name.
void RestoreDefaultSettings | ( | ) |
Restores the default settings.
void SetDefaultViewingMode | ( | EViewingMode | pViewingMode | ) |
Sets the default viewing mode.
pViewingMode | Viewing mode to set(eStandard, eXRay or eModelsOnly). |
EViewingMode GetDefaultViewingMode | ( | ) | const |
Returns the default viewing mode.
void CreateProducerCameras | ( | ) |
Creates the default Producer cameras.
void DestroyProducerCameras | ( | ) |
Destroys the default Producer cameras.
bool IsProducerCamera | ( | FbxCamera * | pCamera | ) | const |
Checks if the camera is a Producer camera.
pCamera | The camera to check. |
True
if it is a producer camera, returns false
if it is not a producer camera. FbxCamera* GetCameraProducerPerspective | ( | ) | const |
Returns a reference to the Producer perspective camera.
FbxCamera* GetCameraProducerFront | ( | ) | const |
Returns a reference to the Producer front camera.
FbxCamera* GetCameraProducerBack | ( | ) | const |
Returns a reference to the Producer back camera.
FbxCamera* GetCameraProducerLeft | ( | ) | const |
Returns a reference to the Producer left camera.
FbxCamera* GetCameraProducerRight | ( | ) | const |
Returns a reference to the Producer right camera.
FbxCamera* GetCameraProducerTop | ( | ) | const |
Returns a reference to the Producer top camera.
FbxCamera* GetCameraProducerBottom | ( | ) | const |
Returns a reference to the Producer bottom camera.
FbxCameraSwitcher* GetCameraSwitcher | ( | ) | const |
Returns the Camera Switcher.
FbxNodeAttribute::eCameraSwitcher
node attribute type. This node is not saved when there is no camera in the scene. Nodes inserted below are never saved. 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. If a camera is added or removed after camera indices have been set, the camera indices must be updated. It is easier to set camera indices once every camera have been set. Camera index keys must be set using constant interpolation to ensure that camera switches occur exactly at key time. void SetCameraSwitcher | ( | FbxCameraSwitcher * | pSwitcher | ) |
Sets the Camera Switcher.
pSwitcher | The Camera Switcher to be set. |
const FbxGlobalCameraSettings& operator= | ( | const FbxGlobalCameraSettings & | pGlobalCameraSettings | ) |
Assignment operator.
pGlobalCameraSettings | FbxGlobalCameraSettings object assigned to this one. |