FBX C++ API Reference
|
#include <fbxtakeinfo.h>
This class contains take information from an imported file or exported to an output file.
A "take" is in fact a group of animation data grouped by name, so the FBX file format can support many "animation takes" in an FBX file to mimic how a movie is produced by making many takes of the same scene.
The most used data is the "take name", other data are rarely used. Example of use: to get the list of all animation take names of FBX file without loading all the scene content. When a FbxImporter is initialized, the take information can be read and can be available before the long Import() step, this way, we can get the take info data very fast since we don't need to load all the animation scene data.
Definition at line 56 of file fbxtakeinfo.h.
Public Types | |
enum | EImportOffsetType { eAbsolute, eRelative } |
Import offset types. More... | |
Public Member Functions | |
FbxTakeInfo () | |
Default constructor. More... | |
virtual | ~FbxTakeInfo () |
Destructor. More... | |
FbxTakeInfo (const FbxTakeInfo &pTakeInfo) | |
Copy Constructor. More... | |
FbxTakeInfo & | operator= (const FbxTakeInfo &pTakeInfo) |
Assignment operator. More... | |
void | CopyLayers (const FbxTakeInfo &pTakeInfo) |
Copies the layer information from the take information. More... | |
Public Attributes | |
FbxString | mName |
Take name. More... | |
FbxString | mImportName |
The take name once it is imported in a scene. More... | |
FbxString | mDescription |
Take description. More... | |
bool | mSelect |
Import/export flag. More... | |
FbxTimeSpan | mLocalTimeSpan |
Local time span, set to animation interval if it is left at the default value. More... | |
FbxTimeSpan | mReferenceTimeSpan |
Reference time span, set to animation interval if it is left at the default value. More... | |
FbxTime | mImportOffset |
Time value for offsetting the animation keys once they are imported in a scene. More... | |
EImportOffsetType | mImportOffsetType |
Import offset type. More... | |
FbxArray< FbxTakeLayerInfo * > | mLayerInfoList |
List of each layer's information. More... | |
int | mCurrentLayer |
Current Layer. More... | |
enum EImportOffsetType |
Import offset types.
Enumerator | |
---|---|
eAbsolute | |
eRelative |
Definition at line 112 of file fbxtakeinfo.h.
FbxTakeInfo | ( | ) |
Default constructor.
|
virtual |
Destructor.
FbxTakeInfo | ( | const FbxTakeInfo & | pTakeInfo | ) |
Copy Constructor.
pTakeInfo | The take information to be copied. |
FbxTakeInfo& operator= | ( | const FbxTakeInfo & | pTakeInfo | ) |
Assignment operator.
pTakeInfo | The take information to be assigned. . |
void CopyLayers | ( | const FbxTakeInfo & | pTakeInfo | ) |
Copies the layer information from the take information.
pTakeInfo | The take information to be copied. |
FbxString mName |
FbxString mImportName |
The take name once it is imported in a scene.
You can modify it if it must be different from the take name in the imported file.
Definition at line 85 of file fbxtakeinfo.h.
FbxString mDescription |
bool mSelect |
Import/export flag.
Set to true
by default, set to false
if the take must not be imported or exported.
Definition at line 93 of file fbxtakeinfo.h.
FbxTimeSpan mLocalTimeSpan |
Local time span, set to animation interval if it is left at the default value.
Definition at line 96 of file fbxtakeinfo.h.
FbxTimeSpan mReferenceTimeSpan |
Reference time span, set to animation interval if it is left at the default value.
Definition at line 99 of file fbxtakeinfo.h.
FbxTime mImportOffset |
Time value for offsetting the animation keys once they are imported in a scene.
You can modify it if you need the animation of a take to be offset. The effect depends on the state of mImportOffsetType
.
Definition at line 106 of file fbxtakeinfo.h.
EImportOffsetType mImportOffsetType |
Import offset type.
If set to eAbsolute
, mImportOffset
gives the absolute time of the first animation key and the appropriate time shift is applied to all of the other animation keys. If set to eRelative
, mImportOffset
gives the relative time shift applied to all animation keys.
Definition at line 125 of file fbxtakeinfo.h.
FbxArray<FbxTakeLayerInfo*> mLayerInfoList |
List of each layer's information.
Definition at line 133 of file fbxtakeinfo.h.
int mCurrentLayer |
Current Layer.
Definition at line 136 of file fbxtakeinfo.h.