FBX C++ API Reference
fbxanimevaluator.h File Reference

Go to the source code of this file.

Classes

class  FbxAnimEvaluator
 The principal interface for animation evaluators. More...
 

Functions

template<class T >
EvaluatePropertyValue (FbxProperty &pProperty, const FbxTime &pTime, bool pForceEval)
 Evaluate the property at the specified time using the template type provided. More...
 

Function Documentation

T EvaluatePropertyValue ( FbxProperty pProperty,
const FbxTime pTime,
bool  pForceEval 
)
inline

Evaluate the property at the specified time using the template type provided.

Parameters
pPropertyThe property to evaluate.
pTimeThe time used for evaluate.
pForceEvalForce the evaluator to refresh the evaluation state cache even if its already up-to-date.
Returns
The property value at the specified time converted to the template type provided, if possible.
Remarks
If the property type versus the template cannot be converted, the result is unknown.

Definition at line 198 of file fbxanimevaluator.h.

199 {
200  return pProperty.GetAnimationEvaluator()-> template GetPropertyValue<T>(pProperty, pTime, pForceEval);
201 }
FbxAnimEvaluator * GetAnimationEvaluator() const
Retrieve the proper animation evaluator to use for this property.