FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FbxDeformationsEvaluator Class Reference

#include <fbxdeformationsevaluator.h>

Class Description

Definition at line 30 of file fbxdeformationsevaluator.h.

Public Member Functions

bool Init (const FbxNode *pNode, const FbxMesh *pMesh)
 Configure this object to process the given mesh. More...
 
bool ComputeShapeDeformation (FbxVector4 *pVertexArray, const FbxTime &pTime)
 If this object is properly configured, evaluates the shape deformation of the mesh at the given time. More...
 
bool ComputeSkinDeformation (FbxVector4 *pVertexArray, const FbxTime &pTime, FbxAMatrix *pGX=((void *) 0), const FbxPose *pPose=((void *) 0))
 If this object is properly configured, evaluates the skin deformation of the received mesh at the given time. More...
 

Member Function Documentation

◆ Init()

bool Init ( const FbxNode pNode,
const FbxMesh pMesh 
)

Configure this object to process the given mesh.

Parameters
pNodeNode object owner of the mesh.
pMeshProcessed object.
Returns
true if pMesh is connected to pNode and the internal data allocation succeeded.

◆ ComputeShapeDeformation()

bool ComputeShapeDeformation ( FbxVector4 pVertexArray,
const FbxTime pTime 
)

If this object is properly configured, evaluates the shape deformation of the mesh at the given time.

Parameters
pVertexArrayThe result of the evaluation.
pTimeCurrent time of the evaluation.
Returns
true if the function completed successfully and false in case of errors.
Remarks
pVertexArray must be allocated and be of size: mMesh->GetControlPointCount().

◆ ComputeSkinDeformation()

bool ComputeSkinDeformation ( FbxVector4 pVertexArray,
const FbxTime pTime,
FbxAMatrix pGX = ((void *) 0),
const FbxPose pPose = ((void *) 0) 
)

If this object is properly configured, evaluates the skin deformation of the received mesh at the given time.

Parameters
pVertexArrayThe result of the evaluation.
pTimeCurrent time of the evaluation.
pGXLocal to World matrix to express the returned vertices in World space.
pPoseIf defined, use the pose to evaluate the current transform.
Returns
true if the function completed successfully and false in case of errors.
Remarks
pVertexArray must be allocated and be of size: mMesh->GetControlPointCount().

The documentation for this class was generated from the following file: