This reference page is linked to from the following overview topics: FBX SDK 2014, Supported Scene Elements, FBX Scenes, Lights, List of Python Fbx classes.
This class contains functions for accessing global settings.
Definition at line 27 of file fbxglobalsettings.h.
#include <fbxglobalsettings.h>

Classes | |
| struct | TimeMarker |
Public Member Functions | |
| void | SetOriginalUpAxis (const FbxAxisSystem &pAxisSystem) |
| Sets the coordinate system's original Up Axis when the scene is created. | |
| int | GetOriginalUpAxis () const |
| Returns the coordinate system's original Up Axis. | |
| virtual FbxObject & | Copy (const FbxObject &pObject) |
| Copy an object content into this object. | |
Protected Member Functions | |
| virtual void | Construct (const FbxGlobalSettings *pFrom) |
| virtual void | ConstructProperties (bool pForceSet) |
| Optional property constructor override, automatically called by default constructor. | |
Protected Attributes | |
| FbxPropertyT< FbxInt > | UpAxis |
| FbxPropertyT< FbxInt > | UpAxisSign |
| FbxPropertyT< FbxInt > | FrontAxis |
| FbxPropertyT< FbxInt > | FrontAxisSign |
| FbxPropertyT< FbxInt > | CoordAxis |
| FbxPropertyT< FbxInt > | CoordAxisSign |
| FbxPropertyT< FbxInt > | OriginalUpAxis |
| FbxPropertyT< FbxInt > | OriginalUpAxisSign |
| FbxPropertyT< FbxDouble > | UnitScaleFactor |
| FbxPropertyT< FbxDouble > | OriginalUnitScaleFactor |
| FbxPropertyT< FbxDouble3 > | AmbientColor |
| FbxPropertyT< FbxString > | DefaultCamera |
| FbxPropertyT< FbxEnum > | TimeMode |
| FbxPropertyT< FbxEnum > | TimeProtocol |
| FbxPropertyT< FbxEnum > | SnapOnFrameMode |
| FbxPropertyT< FbxTime > | TimeSpanStart |
| FbxPropertyT< FbxTime > | TimeSpanStop |
| FbxPropertyT< FbxDouble > | CustomFrameRate |
Friends | |
| class | FbxWriterFbx6 |
Axis system | |
| void | SetAxisSystem (const FbxAxisSystem &pAxisSystem) |
| Sets the scene's coordinate system. | |
| FbxAxisSystem | GetAxisSystem () |
| Returns the scene's current coordinate system. | |
System Units | |
| void | SetSystemUnit (const FbxSystemUnit &pOther) |
| Sets the unit of measurement used by the system. | |
| FbxSystemUnit | GetSystemUnit () const |
| Returns the unit of measurement used by the system. | |
| void | SetOriginalSystemUnit (const FbxSystemUnit &pOther) |
| Sets the original unit of measurement used by the system. | |
| FbxSystemUnit | GetOriginalSystemUnit () const |
| Returns the original unit of measurement used by the system. | |
Light Settings | |
| void | SetAmbientColor (FbxColor pAmbientColor) |
| Sets the ambient color. | |
| FbxColor | GetAmbientColor () const |
| Returns the ambient color. | |
Camera Settings | |
| bool | SetDefaultCamera (const char *pCameraName) |
| Sets the default camera. | |
| FbxString | GetDefaultCamera () const |
| Returns the default camera name. | |
Time Settings | |
| enum | ESnapOnFrameMode { eNoSnap, eSnapOnFrame, ePlayOnFrame, eSnapAndPlayOnFrame } |
Snap on frame mode. More... | |
| void | SetTimeMode (FbxTime::EMode pTimeMode) |
| Sets the time mode. | |
| FbxTime::EMode | GetTimeMode () const |
| Returns the time mode. | |
| void | SetTimeProtocol (FbxTime::EProtocol pTimeProtocol) |
| Sets the time protocol. | |
| FbxTime::EProtocol | GetTimeProtocol () const |
| Returns the time protocol. | |
| void | SetSnapOnFrameMode (ESnapOnFrameMode pSnapOnFrameMode) |
| Sets the snap on frame mode. | |
| ESnapOnFrameMode | GetSnapOnFrameMode () const |
| Returns the snap on frame mode. | |
| void | SetTimelineDefaultTimeSpan (const FbxTimeSpan &pTimeSpan) |
| Sets the default time span of the time line. | |
| void | GetTimelineDefaultTimeSpan (FbxTimeSpan &pTimeSpan) const |
| Returns the default time span of the time line. | |
| void | SetCustomFrameRate (double pCustomFrameRate) |
| Set custom frame rate. | |
| double | GetCustomFrameRate () const |
| Return frame rate if the time mode is FbxTime::eCustom. | |
Time Markers | |
| int | GetTimeMarkerCount () const |
| Returns the number of time markers. | |
| TimeMarker | GetTimeMarker (int pIndex, FbxStatus *pStatus=NULL) const |
| Returns the time marker at the given index. | |
| void | AddTimeMarker (const TimeMarker &pTimeMarker, FbxStatus *pStatus=NULL) |
| Adds a time marker. | |
| void | ReplaceTimeMarker (int pIndex, const TimeMarker &pTimeMarker, FbxStatus *pStatus=NULL) |
| Replaces the time marker at the specified index with the new one. | |
| void | RemoveAllTimeMarkers () |
| Removes all time markers and sets the current time marker index to -1. | |
| bool | SetCurrentTimeMarker (int pIndex, FbxStatus *pStatus=NULL) |
| Sets the index of the current time marker. | |
| int | GetCurrentTimeMarker () const |
| Returns the current time marker index. | |
| enum ESnapOnFrameMode |
Snap on frame mode.
| eNoSnap | |
| eSnapOnFrame |
No snap. |
| ePlayOnFrame |
Snap on frame. |
| eSnapAndPlayOnFrame |
Play on frame. Snap and play on frame. |
Definition at line 149 of file fbxglobalsettings.h.
| void SetAxisSystem | ( | const FbxAxisSystem & | pAxisSystem | ) |
Sets the scene's coordinate system.
| pAxisSystem | The coordinate system to set. |
| FbxAxisSystem GetAxisSystem | ( | ) |
Returns the scene's current coordinate system.
| void SetOriginalUpAxis | ( | const FbxAxisSystem & | pAxisSystem | ) |
Sets the coordinate system's original Up Axis when the scene is created.
| pAxisSystem | The coordinate system whose Up Axis is copied. |
| int GetOriginalUpAxis | ( | ) | const |
Returns the coordinate system's original Up Axis.
| void SetSystemUnit | ( | const FbxSystemUnit & | pOther | ) |
Sets the unit of measurement used by the system.
| pOther | The system unit to set. |
| FbxSystemUnit GetSystemUnit | ( | ) | const |
Returns the unit of measurement used by the system.
| void SetOriginalSystemUnit | ( | const FbxSystemUnit & | pOther | ) |
Sets the original unit of measurement used by the system.
| pOther | The original system unit to set. |
| FbxSystemUnit GetOriginalSystemUnit | ( | ) | const |
Returns the original unit of measurement used by the system.
| void SetAmbientColor | ( | FbxColor | pAmbientColor | ) |
Sets the ambient color.
| pAmbientColor | The ambient color to set. |
| FbxColor GetAmbientColor | ( | ) | const |
| bool SetDefaultCamera | ( | const char * | pCameraName | ) |
Sets the default camera.
| pCameraName | Name of the default camera. |
true if camera name is valid, returns false if the camera does not have a valid name. | FbxString GetDefaultCamera | ( | ) | const |
Returns the default camera name.
| void SetTimeMode | ( | FbxTime::EMode | pTimeMode | ) |
Sets the time mode.
| pTimeMode | One of the defined modes in class FbxTime. |
| FbxTime::EMode GetTimeMode | ( | ) | const |
| void SetTimeProtocol | ( | FbxTime::EProtocol | pTimeProtocol | ) |
Sets the time protocol.
| pTimeProtocol | One of the defined protocols in FbxTime class. |
| FbxTime::EProtocol GetTimeProtocol | ( | ) | const |
Returns the time protocol.
| void SetSnapOnFrameMode | ( | ESnapOnFrameMode | pSnapOnFrameMode | ) |
Sets the snap on frame mode.
| pSnapOnFrameMode | One of the following values: eNoSnap, eSnapOnFrame, ePlayOnFrame, or eSnapAndPlayOnFrame. |
| ESnapOnFrameMode GetSnapOnFrameMode | ( | ) | const |
Returns the snap on frame mode.
| void SetTimelineDefaultTimeSpan | ( | const FbxTimeSpan & | pTimeSpan | ) |
Sets the default time span of the time line.
| pTimeSpan | The default time span of the time line. |
| void GetTimelineDefaultTimeSpan | ( | FbxTimeSpan & | pTimeSpan | ) | const |
Returns the default time span of the time line.
| pTimeSpan | The default time span of the time line. |
| void SetCustomFrameRate | ( | double | pCustomFrameRate | ) |
Set custom frame rate.
This is meaningless if the time mode is not FbxTime::eCustom.
| double GetCustomFrameRate | ( | ) | const |
Return frame rate if the time mode is FbxTime::eCustom.
If the time mode is not FbxTime::eCustom, return -1.
| int GetTimeMarkerCount | ( | ) | const |
| TimeMarker GetTimeMarker | ( | int | pIndex, |
| FbxStatus * | pStatus = NULL |
||
| ) | const |
Returns the time marker at the given index.
| pIndex | The time marker index. |
| pStatus | The FbxStatus object to hold error codes. |
| void AddTimeMarker | ( | const TimeMarker & | pTimeMarker, |
| FbxStatus * | pStatus = NULL |
||
| ) |
Adds a time marker.
| pTimeMarker | The new time marker to be added. |
| pStatus | The FbxStatus object to hold error codes. |
| void ReplaceTimeMarker | ( | int | pIndex, |
| const TimeMarker & | pTimeMarker, | ||
| FbxStatus * | pStatus = NULL |
||
| ) |
Replaces the time marker at the specified index with the new one.
| pIndex | The time marker index. |
| pTimeMarker | The new time marker. |
| pStatus | The FbxStatus object to hold error codes. |
| void RemoveAllTimeMarkers | ( | ) |
Removes all time markers and sets the current time marker index to -1.
| bool SetCurrentTimeMarker | ( | int | pIndex, |
| FbxStatus * | pStatus = NULL |
||
| ) |
Sets the index of the current time marker.
| pIndex | The current time marker index. |
| pStatus | The FbxStatus object to hold error codes. |
true if successful, or returns false if the index is not valid. | int GetCurrentTimeMarker | ( | ) | const |
Returns the current time marker index.
Copy an object content into this object.
| pObject | The source object to copy data from. |
Reimplemented from FbxObject.
| virtual void Construct | ( | const FbxGlobalSettings * | pFrom | ) | [protected, virtual] |
| virtual void ConstructProperties | ( | bool | pForceSet | ) | [protected, virtual] |
Optional property constructor override, automatically called by default constructor.
| pForceSet | If the property value must be set regardless of default value. |
Reimplemented from FbxObject.
friend class FbxWriterFbx6 [friend] |
Definition at line 302 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt> UpAxis [protected] |
Definition at line 265 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt> UpAxisSign [protected] |
Definition at line 266 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt> FrontAxis [protected] |
Definition at line 268 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt> FrontAxisSign [protected] |
Definition at line 269 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt> CoordAxis [protected] |
Definition at line 271 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt> CoordAxisSign [protected] |
Definition at line 272 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt> OriginalUpAxis [protected] |
Definition at line 274 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt> OriginalUpAxisSign [protected] |
Definition at line 275 of file fbxglobalsettings.h.
FbxPropertyT<FbxDouble> UnitScaleFactor [protected] |
Definition at line 277 of file fbxglobalsettings.h.
FbxPropertyT<FbxDouble> OriginalUnitScaleFactor [protected] |
Definition at line 278 of file fbxglobalsettings.h.
FbxPropertyT<FbxDouble3> AmbientColor [protected] |
Definition at line 280 of file fbxglobalsettings.h.
FbxPropertyT<FbxString> DefaultCamera [protected] |
Definition at line 281 of file fbxglobalsettings.h.
FbxPropertyT<FbxEnum> TimeMode [protected] |
Definition at line 282 of file fbxglobalsettings.h.
FbxPropertyT<FbxEnum> TimeProtocol [protected] |
Definition at line 283 of file fbxglobalsettings.h.
FbxPropertyT<FbxEnum> SnapOnFrameMode [protected] |
Definition at line 284 of file fbxglobalsettings.h.
FbxPropertyT<FbxTime> TimeSpanStart [protected] |
Definition at line 285 of file fbxglobalsettings.h.
FbxPropertyT<FbxTime> TimeSpanStop [protected] |
Definition at line 286 of file fbxglobalsettings.h.
FbxPropertyT<FbxDouble> CustomFrameRate [protected] |
Definition at line 287 of file fbxglobalsettings.h.