FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager FBFbxManager FBFbxManager FBFbxManager
FBFbxManager FBFbxManager
This class permits the loading and saving of scene without using
the user-interface. Each process is split into three steps, and
between the first and second, the developer can setup the different
options for each operation. For instance, when loading, LoadBegin() is called, the
options for the file can then be set, and then Load() is called to begin the actual
import of the data from the scene.
|
Public Member Functions
|
|
FBFbxManager
() |
|
Constructor.
|
bool |
LoadBegin
(void *pFileAddress, kULong pFileMemoryLength, bool
pMerge=false) |
|
Begin the file load process.
|
bool |
LoadBegin
(char *pFilename, bool pMerge=false) |
|
Begin the file load process.
|
bool |
Load
() |
|
File load process.
|
bool |
LoadIsCompleted
() |
|
Query the file load process.
|
bool |
LoadEnd
() |
|
End the file load process.
|
bool |
SaveBegin
(char *pFilename) |
|
Begin the file save process.
|
bool |
Save
() |
|
Actual file save process.
|
bool |
SaveEnd
() |
|
End the file save process.
|
bool |
SaveCharacterRigAndAnimation
(char *pFileName, HFBCharacter pCharacter, bool pSaveCharacter,
bool pSaveRig, bool pSaveExtensions) |
|
Save the rig and its animation in a file.
|
bool |
LoadAnimationOnCharacter
(char *pFileName, HFBCharacter pCharacter, bool pReplaceRig, bool
pCopyMissingExtensions, bool pUpdateLimits, bool pIgnoreConflicts,
FBFbxManagerLoadAnimationMethod
pTransferMethod, HFBPlotOptions pPlotOptions, bool
pProcessAnimationOnExtensions, bool pRetargetOnBaseLayer, bool
pResetHierarchy) |
|
Load a rig and its animation from a file.
|
bool |
SetOptionsFromHistory
(char *pHistoryFile=NULL) |
|
Use the options saved to a history config
file to setup the current options.
|
bool |
SetHistoryFromOptions
(char *pHistoryFile=NULL) |
|
Update a history config file with the
current options.
|
Public Attributes
|
FBPropertyFbxManagerState |
State |
|
Read Only Property: Current state of
the manager.
|
FBPropertyString |
CustomImportNamespace |
|
Read Write Property: Namespace we
append to every objects on a Load (import/open/merge)
|
FBArrayFbxTake |
Takes |
|
List: Scene takes.
|
FBPropertyScene |
Scene |
|
Read Write Property: This is the
scene in wich you want to load
|
|
FBPropertyBool |
Async |
|
Read Write Property: Use asynchronous
operation. False by default.
|
|
- Warning:
- These options are not present in the history file.
Thus will not be affected by 'SetOptionsFromHistory()' and
'SetHistoryFromOptions()'.
|
FBPropertyBool |
ClearBeforeLoad |
|
Read Write Property: Clear the scene
before load. False by default.
|
FBPropertyTakeSpanOnLoad |
TakeSpan |
|
Read Write Property: Indicate how the
take start and end point should be set. By default it is read from
the file.
|
|
All of these options are false by default,
except for 'EmbedMedia' which is true by default.
- Warning:
- These options are not present in the history file. Thus will
not be affected by 'SetOptionsFromHistory()' and
'SetHistoryFromOptions()'.
|
FBPropertyBool |
ConvertImageToTiff |
|
Read Write Property: Only considered
if EmbedMedia is true. Will convert the embeded media to tiff
format when possible.
|
FBPropertyBool |
EmbedMedia |
|
Read Write Property: Embed all media
in the FBX file itself. When saving in ASCII mode it is not
possible to embed media.
|
FBPropertyBool |
SaveSelectedModelsOnly |
|
Read Write Property: Indicate that
only the selected models will be saved.
|
FBPropertyBool |
UseASCIIFormat |
|
Read Write Property: Indicate if the
resulting FBX file will be in binary or ASCII mode.
|
|
FBPropertyBool |
BaseCameras |
|
Read Write Property: Consider base
camera settings.
|
FBPropertyBool |
CameraSwitcherSettings |
|
Read Write Property: Consider camera
switcher settings.
|
FBPropertyBool |
CurrentCameraSettings |
|
Read Write Property: Consider current
camera settings.
|
FBPropertyBool |
GlobalLightingSettings |
|
Read Write Property: Consider global
Lighting settings.
|
FBPropertyBool |
TransportSettings |
|
Read Write Property: Consider
transport control settings.
|
|
FBPropertyElementAction |
Actors |
|
Read Write Property: Handling of the
Actors elements.
|
FBPropertyElementAction |
ActorFaces |
|
Read Write Property: Handling of the
Actor Faces elements.
|
FBPropertyElementAction |
Audio |
|
Read Write Property: Handling of the
Audio elements.
|
FBPropertyElementAction |
Bones |
|
Read Write Property: Handling of the
Bones elements.
|
FBPropertyElementAction |
Cameras |
|
Read Write Property: Handling of the
Cameras elements.
|
FBPropertyElementAction |
Characters |
|
Read Write Property: Handling of the
Characters elements.
|
FBPropertyElementAction |
CharacterFaces |
|
Read Write Property: Handling of the
Character Faces elements.
|
FBPropertyElementAction |
CharacterExtensions |
|
Read Write Property: Handling of the
Character Extensions.
|
FBPropertyElementAction |
Constraints |
|
Read Write Property: Handling of the
Constraints elements.
|
FBPropertyElementAction |
Devices |
|
Read Write Property: Handling of the
Devices elements.
|
FBPropertyElementAction |
Groups |
|
Read Write Property: Handling of the
Groups elements.
|
FBPropertyElementAction |
KeyingGroups |
|
Read Write Property: Handling of the
Keying Groups elements.
|
FBPropertyElementAction |
Lights |
|
Read Write Property: Handling of the
Lights elements.
|
FBPropertyElementAction |
Materials |
|
Read Write Property: Handling of the
Materials elements.
|
FBPropertyElementAction |
Models |
|
Read Write Property: Handling of the
Models elements.
|
FBPropertyElementAction |
Notes |
|
Read Write Property: Handling of the
Notes elements.
|
FBPropertyElementAction |
OpticalData |
|
Read Write Property: Handling of the
Optical Data elements.
|
FBPropertyElementAction |
PhysicalProperties |
|
Read Write Property: Handling of the
Physical Properties elements.
|
FBPropertyElementAction |
Poses |
|
Read Write Property: Handling of the
Poses elements.
|
FBPropertyElementAction |
Scripts |
|
Read Write Property: Handling of the
Scripts elements.
|
FBPropertyElementAction |
Sets |
|
Read Write Property: Handling of the
Sets elements.
|
FBPropertyElementAction |
Shaders |
|
Read Write Property: Handling of the
Shaders elements.
|
FBPropertyElementAction |
Solvers |
|
Read Write Property: Handling of the
Solvers elements.
|
FBPropertyElementAction |
Story |
|
Read Write Property: Handling of the
Story elements.
|
FBPropertyElementAction |
Textures |
|
Read Write Property: Handling of the
Textures elements.
|
FBPropertyElementAction |
Video |
|
Read Write Property: Handling of the
Video elements.
|
|
Not all elements type have animation
associated with them.
|
FBPropertyBool |
ActorFacesAnimation |
|
Read Write Property: Handling of the
Actor Faces animation.
|
FBPropertyBool |
BonesAnimation |
|
Read Write Property: Handling of the
Bones animation.
|
FBPropertyBool |
CamerasAnimation |
|
Read Write Property: Handling of the
Cameras animation.
|
FBPropertyBool |
CharactersAnimation |
|
Read Write Property: Handling of the
Characters animation.
|
FBPropertyBool |
CharacterFacesAnimation |
|
Read Write Property: Handling of the
Character Faces animation.
|
FBPropertyBool |
ConstraintsAnimation |
|
Read Write Property: Handling of the
Constraints animation.
|
FBPropertyBool |
DevicesAnimation |
|
Read Write Property: Handling of the
Devices animation.
|
FBPropertyBool |
LightsAnimation |
|
Read Write Property: Handling of the
Lights animation.
|
FBPropertyBool |
MaterialsAnimation |
|
Read Write Property: Handling of the
Materials animation.
|
FBPropertyBool |
ModelsAnimation |
|
Read Write Property: Handling of the
Models animation.
|
FBPropertyBool |
NotesAnimation |
|
Read Write Property: Handling of the
Notes animation.
|
FBPropertyBool |
PhysicalPropertiesAnimation |
|
Read Write Property: Handling of the
Physical Properties animation.
|
FBPropertyBool |
ShadersAnimation |
|
Read Write Property: Handling of the
Shaders animation.
|
FBPropertyBool |
SolversAnimation |
|
Read Write Property: Handling of the
Solvers animation.
|
FBPropertyBool |
TexturesAnimation |
|
Read Write Property: Handling of the
Textures animation.
|