FBX C++ API Reference
|
#include <fbxbindingoperator.h>
A conditional operator that outputs one out of two properties, based on the value of a predicate property.
Definition at line 419 of file fbxbindingoperator.h.
Public Member Functions | |
virtual bool | Evaluate (const FbxBindingOperator *pOperator, const FbxObject *pObject, EFbxType *pResultType, void **pResult) const |
Evaluates the object property specified by "predicate". More... | |
virtual bool | ReverseEvaluate (const FbxBindingOperator *pOperator, const FbxObject *pTarget, const void *pIn, void **pOut, EFbxType *pOutType, bool setObj, int index) const |
Run the inverse operator on the given object, assigning the result directly to the object. More... | |
![]() | |
virtual | ~Function () |
Destructor. More... | |
Static Public Attributes | |
static const char * | FunctionName |
Name of the operation function. More... | |
|
virtual |
Evaluates the object property specified by "predicate".
If the property value is true (!= 0, != ""), returns the value of the property specified by "ifTrue", else returns the value of the property specified by "ifFalse".
Currently the data types supported for the input property are limited to "integer", "boolean", "float", "double" and "string".
pOperator | Operator running on the object. |
pObject | The object that will be evaluated. |
pResultType | The type of the result to be returned. |
pResult | A pointer to a buffer that can hold the result. |
true
on success, false
otherwise. Implements FbxBindingOperator::Function.
|
virtual |
Run the inverse operator on the given object, assigning the result directly to the object.
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. |
true
on success, false
otherwise. Implements FbxBindingOperator::Function.
|
static |
Name of the operation function.
Definition at line 423 of file fbxbindingoperator.h.