Time Warp Manager Interface to the Time Warp Manager.
Public Member Functions | |
__init__ () | |
Constructor. | |
TimeWarpTakeChange () | |
Call registered callbacks when changes related to TimeWarp happen. | |
TimeWarpClearTake (FBTake pTake) | |
Clear all TimeWarp in a Take, and removed from the DataSet. | |
TimeWarpInitTake (FBTake pTake) | |
Allocate container for the TimeWarp in one Take. | |
TimeWarpCopyTake (FBTake pDstTake, FBTake pSrcTake) | |
Copy all the TimeWarp in one Take, add to another Take. | |
TimeWarpAddToTake (FBTake pTake, FBAnimationNode pTimeWarp, int pNickNumber=0) | |
Add one TimeWarp to a Take. | |
DestroyTimeWarpFromTake (FBTake pTake, FBAnimationNode pTimeWarp) | |
Destroy the TimeWarp in a Take, and removed from the DataSet. | |
RemoveTimeWarpFromScene (FBAnimationNode pTimeWarp) | |
Remove a TimeWarp from Scene. | |
long | GetTimeWarpCount (FBTake pTake) |
Get the count of TimeWarp in a Take. | |
FBAnimationNode | GetTimeWarpAtIndex (FBTake pTake, long pIndex) |
Get the TimeWarp in a Take At specific Index. | |
int | GetTimeWarpNickNumber (FBTake pTake, FBAnimationNode pTimeWarp) |
Get the Nick Number of one TimeWarp in a Take. | |
bool | SetTimeWarpNickNumber (FBTake pTake, FBAnimationNode pTimeWarp, int pNumber) |
Set the Nick Number of one TimeWarp in a Take. | |
int | GetTimeWarpNickNumberAtIndex (FBTake pTake, long pIndex) |
Get the Nick Number of one TimeWarp At specific index in a Take. | |
FBAnimationNode | GetTimeWarpFromNickNumber (FBTake pTake, int pNumber) |
Get the timeWarp of specific Nick Number in a Take. | |
int | FindTimeWarpNickNumberGlobal (FBAnimationNode pTimeWarp) |
Find the Nick Number of one timewarp globally. | |
bool | ApplyTimeWarp (FBTake pTake, FBProperty pEvalProp, FBAnimationNode pTimeWarp) |
Apply the TimeWarp in a Take to an evaluation property, just connect the storing property for the TimeWarp to the evaluation property. | |
RemoveTimeWarp (FBTake pTake, FBProperty pEvalProp) | |
Undo apply a timeWarp in a Take to an evaluation property, just disconnect the evaluation property from storing property. | |
TimeWarpRegisterChangeEvent (TimeWarpChangeCallback pCallback, pObject) | |
Register a callback Called when some changes related to TimeWarp happen. | |
TimeWarpUnregisterChangeEvent (TimeWarpChangeCallback pCallback, pObject) | |
Unregister a call registered. | |
FBAnimationNode | TimeWarpCreateNew (str pName) |
Create a TimeWarp with a specific name. | |
TimeWarpRename (FBTake pTake, FBAnimationNode pTimeWarp, str pNewName) | |
Rename a TimeWarp. | |
TimeWarpMergeCurveNode (FBTake pTake, FBProperty pEvalProp, FBAnimationNode pNode, FBAnimationNode pTimeWarpNode) | |
Merge the TimeWarp to a function curve, and Remove the connection between the storing property and the evaluation property for the TimeWarp. | |
FBTimeWarpManager | TheOne () |
Get the global object for this class. |
__init__ | ( | ) |
TimeWarpTakeChange | ( | ) |
Call registered callbacks when changes related to TimeWarp happen.
TimeWarpClearTake | ( | FBTake | pTake | ) |
Clear all TimeWarp in a Take, and removed from the DataSet.
pTake | The Take to be cleared. |
TimeWarpInitTake | ( | FBTake | pTake | ) |
Allocate container for the TimeWarp in one Take.
pTake | The Take allocated for. |
Copy all the TimeWarp in one Take, add to another Take.
pDstTake | Copy all TimeWarp to. |
pSrcTake | Copy all TimeWarp from. |
TimeWarpAddToTake | ( | FBTake | pTake, |
FBAnimationNode | pTimeWarp, | ||
int | pNickNumber = 0 |
||
) |
Add one TimeWarp to a Take.
pTake | The Take one TimeWarp added to. |
pTimeWarp | The TimeWarp to be added. |
pNickNumber | The Nick Number for the TimeWarp. |
DestroyTimeWarpFromTake | ( | FBTake | pTake, |
FBAnimationNode | pTimeWarp | ||
) |
Destroy the TimeWarp in a Take, and removed from the DataSet.
pTake | The Take where the TimeWarp in. |
pTimeWarp | The TimeWarp to be Destroyed. |
RemoveTimeWarpFromScene | ( | FBAnimationNode | pTimeWarp | ) |
Remove a TimeWarp from Scene.
pTimeWarp | The TimeWarp to be Removed. |
Get the count of TimeWarp in a Take.
pTake | The Take queried. |
FBAnimationNode GetTimeWarpAtIndex | ( | FBTake | pTake, |
long | pIndex | ||
) |
Get the TimeWarp in a Take At specific Index.
pTake | The Take queried. |
pIndex | The index of the TimeWarp. |
int GetTimeWarpNickNumber | ( | FBTake | pTake, |
FBAnimationNode | pTimeWarp | ||
) |
Get the Nick Number of one TimeWarp in a Take.
pTake | The Take queried. |
pTimeWarp | The TimeWarp queried. |
bool SetTimeWarpNickNumber | ( | FBTake | pTake, |
FBAnimationNode | pTimeWarp, | ||
int | pNumber | ||
) |
Set the Nick Number of one TimeWarp in a Take.
pTake | The Take specific. |
pTimeWarp | The TimeWarp specific. |
pNumber | The Nick Number to set. |
Get the Nick Number of one TimeWarp At specific index in a Take.
pTake | The Take queried. |
pIndex | The index a TimeWarp at. |
FBAnimationNode GetTimeWarpFromNickNumber | ( | FBTake | pTake, |
int | pNumber | ||
) |
Get the timeWarp of specific Nick Number in a Take.
pTake | The Take queried. |
pNumber | the Nick Number of one TimeWarp. |
int FindTimeWarpNickNumberGlobal | ( | FBAnimationNode | pTimeWarp | ) |
Find the Nick Number of one timewarp globally.
pTimeWarp | The TimeWarp queried. |
bool ApplyTimeWarp | ( | FBTake | pTake, |
FBProperty | pEvalProp, | ||
FBAnimationNode | pTimeWarp | ||
) |
Apply the TimeWarp in a Take to an evaluation property, just connect the storing property for the TimeWarp to the evaluation property.
pTake | The Take where the TimeWarp in. |
pEvalProp | The evaluation property to be applied on. |
pTimeWarp | The TimeWarp to apply. |
RemoveTimeWarp | ( | FBTake | pTake, |
FBProperty | pEvalProp | ||
) |
Undo apply a timeWarp in a Take to an evaluation property, just disconnect the evaluation property from storing property.
pTake | The Take where the TimeWarp evaluation property connected is in. |
pEvalProp | The evaluation property connected a TimeWarp in the storing property of one take. |
TimeWarpRegisterChangeEvent | ( | TimeWarpChangeCallback | pCallback, |
pObject | |||
) |
Register a callback Called when some changes related to TimeWarp happen.
pCallback | The callback to register. |
pObject | The Parameter for the callback. |
TimeWarpUnregisterChangeEvent | ( | TimeWarpChangeCallback | pCallback, |
pObject | |||
) |
Unregister a call registered.
pCallback | The callback to be unregister. |
pObject | The Parameter for the callback. |
FBAnimationNode TimeWarpCreateNew | ( | str | pName | ) |
Create a TimeWarp with a specific name.
pName | The name for the TimeWarp. |
TimeWarpRename | ( | FBTake | pTake, |
FBAnimationNode | pTimeWarp, | ||
str | pNewName | ||
) |
Rename a TimeWarp.
pTake | The Take where the timeWarp is in. |
pTimeWarp | The TimeWarp to be renamed. |
pNewName | The new name for the TimeWarp. |
TimeWarpMergeCurveNode | ( | FBTake | pTake, |
FBProperty | pEvalProp, | ||
FBAnimationNode | pNode, | ||
FBAnimationNode | pTimeWarpNode | ||
) |
Merge the TimeWarp to a function curve, and Remove the connection between the storing property and the evaluation property for the TimeWarp.
pTake | The Take that the TimeWarp is in. |
pEvalProp | the evaluation property the TimeWarp connected. |
pNode | The function curve to merge on. |
pTimeWarpNode | The TimeWarp to be merged. |
FBTimeWarpManager TheOne | ( | ) |