This reference page is linked to from the following overview topics: Supported Scene Elements, FBX Scenes, Lights, List of Python Fbx classes.
This class contains functions for accessing global settings.
ExportScene03/main.cxx, ImportScene/DisplayGlobalSettings.cxx, ImportScene/DisplayGlobalSettings.h, ViewScene/SceneContext.cxx, and ViewScene/SetCamera.cxx.
Definition at line 32 of file fbxglobalsettings.h.
#include <fbxglobalsettings.h>

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 bool | ConstructProperties (bool pForceSet) |
Friends |
|
| class | FbxScene |
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 |
|
| static const char * | ePRODUCER_PERSPECTIVE |
| Defined camera name: PRODUCER_PERSPECTIVE.
|
|
| static const char * | ePRODUCER_TOP |
| Defined camera name: PRODUCER_TOP. |
|
| static const char * | ePRODUCER_FRONT |
| Defined camera name: PRODUCER_FRONT.
|
|
| static const char * | ePRODUCER_BACK |
| Defined camera name: PRODUCER_BACK. |
|
| static const char * | ePRODUCER_RIGHT |
| Defined camera name: PRODUCER_RIGHT.
|
|
| static const char * | ePRODUCER_LEFT |
| Defined camera name: PRODUCER_LEFT. |
|
| static const char * | ePRODUCER_BOTTOM |
| Defined camera name: PRODUCER_BOTTOM.
|
|
| bool | SetDefaultCamera (const char *pCameraName) |
| Sets the default camera. |
|
| FbxString | GetDefaultCamera () const |
| Returns the default camera name. |
|
Time Settings |
|
| void | SetTimeMode (FbxTime::EMode pTimeMode) |
| Sets the time mode. |
|
| FbxTime::EMode | GetTimeMode () const |
| Returns the time 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. |
|
Properties |
|
| 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< FbxTime > | TimeSpanStart |
| FbxPropertyT< FbxTime > | TimeSpanStop |
| FbxPropertyT< FbxDouble > | CustomFrameRate |
| 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 |
Returns the ambient color.
| 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 |
Returns the time 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.
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 bool ConstructProperties | ( | bool | pForceSet | ) | [protected, virtual] |
Reimplemented from FbxObject.
friend class FbxScene [friend] |
Reimplemented from FbxObject.
Definition at line 239 of file fbxglobalsettings.h.
const char* ePRODUCER_PERSPECTIVE
[static] |
Defined camera name: PRODUCER_PERSPECTIVE.
Definition at line 115 of file fbxglobalsettings.h.
const char* ePRODUCER_TOP
[static] |
Defined camera name: PRODUCER_TOP.
Definition at line 118 of file fbxglobalsettings.h.
const char* ePRODUCER_FRONT
[static] |
Defined camera name: PRODUCER_FRONT.
Definition at line 121 of file fbxglobalsettings.h.
const char* ePRODUCER_BACK
[static] |
Defined camera name: PRODUCER_BACK.
Definition at line 124 of file fbxglobalsettings.h.
const char* ePRODUCER_RIGHT
[static] |
Defined camera name: PRODUCER_RIGHT.
Definition at line 127 of file fbxglobalsettings.h.
const char* ePRODUCER_LEFT
[static] |
Defined camera name: PRODUCER_LEFT.
Definition at line 130 of file fbxglobalsettings.h.
const char* ePRODUCER_BOTTOM
[static] |
Defined camera name: PRODUCER_BOTTOM.
Definition at line 133 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt>
UpAxis
[protected] |
Definition at line 203 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt>
UpAxisSign
[protected] |
Definition at line 204 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt>
FrontAxis
[protected] |
Definition at line 206 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt>
FrontAxisSign
[protected] |
Definition at line 207 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt>
CoordAxis
[protected] |
Definition at line 209 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt>
CoordAxisSign
[protected] |
Definition at line 210 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt>
OriginalUpAxis
[protected] |
Definition at line 212 of file fbxglobalsettings.h.
FbxPropertyT<FbxInt>
OriginalUpAxisSign
[protected] |
Definition at line 213 of file fbxglobalsettings.h.
FbxPropertyT<FbxDouble>
UnitScaleFactor
[protected] |
Definition at line 215 of file fbxglobalsettings.h.
FbxPropertyT<FbxDouble>
OriginalUnitScaleFactor
[protected] |
Definition at line 216 of file fbxglobalsettings.h.
FbxPropertyT<FbxDouble3> AmbientColor
[protected] |
Definition at line 218 of file fbxglobalsettings.h.
FbxPropertyT<FbxString> DefaultCamera
[protected] |
Definition at line 219 of file fbxglobalsettings.h.
FbxPropertyT<FbxEnum>
TimeMode
[protected] |
Definition at line 220 of file fbxglobalsettings.h.
FbxPropertyT<FbxTime> TimeSpanStart
[protected] |
Definition at line 221 of file fbxglobalsettings.h.
FbxPropertyT<FbxTime> TimeSpanStop
[protected] |
Definition at line 222 of file fbxglobalsettings.h.
FbxPropertyT<FbxDouble>
CustomFrameRate
[protected] |
Definition at line 223 of file fbxglobalsettings.h.