fbxsdk/scene/shading/fbximplementationutils.h File Reference
Get bound property value from FbxBindingTable.
- Parameters
-
- Returns
- Whether get bound property value success or not.
Definition at line 40 of file fbximplementationutils.h.
46 if ((
NULL != pImplementation) && (
NULL != pBindingTable) && (
NULL != pBoundObject) && (
NULL != pEntryName))
54 const char* lPropName = lEntry->
GetSource();
58 pValue = lProp.
Get<T>();
64 const char* lOperatorName = lEntry->
GetSource();
68 return lOp->
Evaluate(pBoundObject, &pValue);
T Get() const
Gets the value of the property.
A binding table entry stores a binding between a source and a destination.
bool IsValid() const
Judges the property's validity.
const char * GetEntryType(bool pAsSource) const
Get the source type or destination type.
const FbxBindingOperator * GetOperatorByTargetName(const char *pTargetName) const
Returns the binding operator that has the given name.
static const char * sEntryType
Name of the entry type used in the binding entry.
FbxProperty FindPropertyHierarchical(const char *pName, bool pCaseSensitive=true) const
Searches a property by full name.
Class to hold user properties.
const char * GetSource() const
Retrieve the source.
const FbxBindingTableEntry * GetEntryForDestination(const char *pDestName) const
Retrieve the table entry for the given destination value.
This object represents a binding operation on a FbxObject or FbxProperty.
bool Evaluate(const FbxObject *pObject, FBXTYPE *pResult) const
Run the operator on the given object.
static const char * sEntryType
Name of the entry type used in the binding entry.
Go to the source code of this file.