FbxBindingOperator::Function Class Reference
#include <fbxbindingoperator.h>
It represents a binding relationship between current object and the target.
Any binding operation need to specify a certain kind of binding function.
Definition at line 183 of file fbxbindingoperator.h.
|
virtual | ~Function () |
| Destructor. More...
|
|
virtual bool | Evaluate (const FbxBindingOperator *pOperator, const FbxObject *pObject, EFbxType *pResultType, void **pResult) const =0 |
| Run the operator on the given object. More...
|
|
virtual bool | ReverseEvaluate (const FbxBindingOperator *pOperator, const FbxObject *pTarget, const void *pIn, void **pOut, EFbxType *pOutType, bool setObj, int index) const =0 |
| Run the inverse operator on the given object, assigning the result directly to the object. More...
|
|
Run the operator on the given object.
- Parameters
-
pOperator | The operator that will be applied. |
pObject | The object that will be evaluated. |
pResultType | Will be filled by the type of the result. |
pResult | Will be filled by a pointer to a buffer that hold the result. The caller must call FreeEvaluationResult() when it is done with this pointer. |
- Returns
true
on success, false
otherwise.
Implemented in FbxSpotDistributionChooserBOF, FbxSymbolIDBOF, FbxIsYupBOF, FbxSphericalToCartesianBOF, FbxVectorDegreeToVectorRadianBOF, FbxDegreeToRadianBOF, FbxPowerBOF, FbxOneOverXBOF, FbxMultiplyDistBOF, FbxMultiplyBOF, FbxSubstractBOF, FbxAddBOF, FbxTRSToMatrixBOF, FbxSwitchBOF, FbxConditionalBOF, FbxAssignBOF, FbxNodeDirectionBOF, and FbxNodePositionBOF.
virtual bool ReverseEvaluate |
( |
const FbxBindingOperator * |
pOperator, |
|
|
const FbxObject * |
pTarget, |
|
|
const void * |
pIn, |
|
|
void ** |
pOut, |
|
|
EFbxType * |
pOutType, |
|
|
bool |
setObj, |
|
|
int |
index |
|
) |
| const |
|
pure virtual |
Run the inverse operator on the given object, assigning the result directly to the object.
- Parameters
-
pOperator | The operator that will be applied. |
pTarget | The object that will be evaluated. |
pIn | |
pOut | |
pOutType | Type of value being reversed. |
setObj | Control to set the property (only to query by the default ). |
index | Used only in FbxMultiplyDistBOF. |
- Returns
true
on success, false
otherwise.
Implemented in FbxSpotDistributionChooserBOF, FbxSymbolIDBOF, FbxIsYupBOF, FbxSphericalToCartesianBOF, FbxVectorDegreeToVectorRadianBOF, FbxDegreeToRadianBOF, FbxPowerBOF, FbxOneOverXBOF, FbxMultiplyDistBOF, FbxMultiplyBOF, FbxSubstractBOF, FbxAddBOF, FbxTRSToMatrixBOF, FbxSwitchBOF, FbxConditionalBOF, FbxAssignBOF, FbxNodeDirectionBOF, and FbxNodePositionBOF.
The documentation for this class was generated from the following file: