Base class for constraint solver.
Public Member Functions | |
__init__ (str pName, object pObject=None) | |
Constructor. | |
FBEvaluateInfo | BackgroundEvaluateInfoBegin (FBEvaluateInfo pSourceEvaluateInfo, bool pEvaluateCandidates=False) |
Start background evaluation. | |
FBEvaluateInfo | BackgroundEvaluateInfoRecursiveBegin (FBEvaluateInfo pSourceEvaluateInfo, bool pForceUpdateLocals=False) |
Start recursive background evaluation. | |
BackgroundEvaluateInfoEnd (FBEvaluateInfo pBackgroundEvaluateInfo) | |
Release background evaluation info - very important. | |
bool | BackgroundEvaluateInfoNotify (FBEvaluateInfo pBackgroundEvaluateInfo, function pFunction, pCustomData=None) |
Enable evaluation notification. | |
MultiThreaded (bool pActive) | |
bool | IsMultiThreaded () |
LiveChanged () | |
bool | BackgroundEvaluate (FBModel pModel, FBComponent pTrackOrTake, FBTime pTime, FBVector3 pT, FBVector3 pR, FBVector3 pS, FBEvaluateInfo pEvaluateInfo=None, bool pGlobal=True) |
Public Attributes | |
FBPropertyBase | SampleRecordingPrecision |
Read Write Property: Sample Recording Precision?. | |
FBPropertyBase | SyncAnimationPlay |
Read Write Property: Sync animation play speed with solver? (for computation expensive scenes this will cause none Realtime play). |
Constructor.
pName | Name of constraint. |
pObject | For internal use only (default is NULL). |
Reimplemented from FBConstraint.
FBEvaluateInfo BackgroundEvaluateInfoBegin | ( | FBEvaluateInfo | pSourceEvaluateInfo, |
bool | pEvaluateCandidates = False |
||
) |
Start background evaluation.
Needs to be released as soon as possible.
pSourceEvaluateInfo | Source evaluation. Needs to be valid one. |
pEvaluateCandidates | Notify that we want to be able to resolve candidates - this can be called only from main thread (on other threads won't work) |
FBEvaluateInfo BackgroundEvaluateInfoRecursiveBegin | ( | FBEvaluateInfo | pSourceEvaluateInfo, |
bool | pForceUpdateLocals = False |
||
) |
Start recursive background evaluation.
Needs to be released as soon as possible.
pSourceEvaluateInfo | Source evaluation. Needs to be valid one. |
pForceUpdateLocals | Evaluate local transformation, even if only global was requested |
BackgroundEvaluateInfoEnd | ( | FBEvaluateInfo | pBackgroundEvaluateInfo | ) |
Release background evaluation info - very important.
bool BackgroundEvaluateInfoNotify | ( | FBEvaluateInfo | pBackgroundEvaluateInfo, |
function | pFunction, | ||
pCustomData | = None |
||
) |
Enable evaluation notification.
pBackgroundEvaluateInfo | Background evaluation that was started for this object and for which we want to change enable/disable notification callback |
pFunction | Callback function, will be called when FBAnimationNode of this constraint is being evaluated. Passing NULL disable notification. |
pCustomData | Customer can pass custom data to callback. |
MultiThreaded | ( | bool | pActive | ) |
bool IsMultiThreaded | ( | ) |
LiveChanged | ( | ) |
bool BackgroundEvaluate | ( | FBModel | pModel, |
FBComponent | pTrackOrTake, | ||
FBTime | pTime, | ||
FBVector3 | pT, | ||
FBVector3 | pR, | ||
FBVector3 | pS, | ||
FBEvaluateInfo | pEvaluateInfo = None , |
||
bool | pGlobal = True |
||
) |
FBPropertyBase SampleRecordingPrecision |
Read Write Property: Sample Recording Precision?.
FBPropertyBase SyncAnimationPlay |
Read Write Property: Sync animation play speed with solver? (for computation expensive scenes this will cause none Realtime play).