This reference page is linked to from the following overview topics: FBX SDK 2012.
FBX SDK blend shape deformer class.
ExportScene02/main.cxx, ExportScene03/main.cxx, ImportScene/DisplayAnimation.cxx, ImportScene/DisplayShape.cxx, and ViewScene/DrawScene.cxx.
Definition at line 60 of file kfbxblendshape.h.
#include <kfbxblendshape.h>
Public Member Functions |
|
bool | SetGeometry (KFbxGeometry *pGeometry) |
Set the geometry affected by this blend
shape deformer. |
|
KFbxGeometry * | GetGeometry () |
Get the geometry affected by this blend
shape deformer. |
|
bool | AddBlendShapeChannel (KFbxBlendShapeChannel *pBlendShapeChannel) |
Add a blend shape channel. |
|
KFbxBlendShapeChannel * | RemoveBlendShapeChannel (KFbxBlendShapeChannel *pBlendShapeChannel) |
Remove the given blend shape. |
|
int | GetBlendShapeChannelCount () const |
Get the number of blend shape channels.
|
|
KFbxBlendShapeChannel * | GetBlendShapeChannel (int pIndex) |
Get blend shape channel at given index.
|
|
KFbxBlendShapeChannel const * | GetBlendShapeChannel (int pIndex) const |
Get the blend shape channel at given index.
|
|
EDeformerType | GetDeformerType () const |
Get the type of the deformer. |
|
void | Reset () |
Restore the blend shape deformer to its
initial state. |
|
virtual KFbxObject & | Copy (const KFbxObject &pObject) |
Copy an object content into this object.
|
|
Protected Member Functions |
|
KFbxBlendShape (KFbxSdkManager &pManager, char const *pName) | |
virtual KStringList | GetTypeFlags () const |
Friends |
|
class | KFbxScene |
KFbxBlendShape | ( | KFbxSdkManager & | pManager, |
char const * | pName | ||
) | [protected] |
bool SetGeometry | ( | KFbxGeometry * | pGeometry | ) |
Set the geometry affected by this blend shape deformer.
pGeometry | Pointer to the geometry object to set. |
true
on success, false
otherwise.KFbxGeometry* GetGeometry | ( | ) |
Get the geometry affected by this blend shape deformer.
bool AddBlendShapeChannel | ( | KFbxBlendShapeChannel * | pBlendShapeChannel | ) |
Add a blend shape channel.
pBlendShapeChannel | Pointer to the blend shape channel object to add. |
true
on success, false
otherwise.KFbxBlendShapeChannel* RemoveBlendShapeChannel | ( | KFbxBlendShapeChannel * | pBlendShapeChannel | ) |
Remove the given blend shape.
pBlendShapeChannel | Pointer to the blend shape channel to remove from this blend shape deformer. |
NULL
if
pBlendShapeChannel is not owned by this blend shape deformer.int GetBlendShapeChannelCount | ( | ) | const |
Get the number of blend shape channels.
KFbxBlendShapeChannel* GetBlendShapeChannel | ( | int | pIndex | ) |
Get blend shape channel at given index.
pIndex | Index of the blend shape channel. |
NULL
if
index is out of range.KFbxBlendShapeChannel const* GetBlendShapeChannel | ( | int | pIndex | ) | const |
Get the blend shape channel at given index.
pIndex | Index of the blend shape channel. |
NULL
if
index is out of range.EDeformerType GetDeformerType | ( | ) | const [inline, virtual] |
Get the type of the deformer.
Reimplemented from KFbxDeformer.
Definition at line 111 of file kfbxblendshape.h.
{return eBLENDSHAPE; };
void Reset | ( | ) |
Restore the blend shape deformer to its initial state.
Calling this function will do the following:
virtual KFbxObject& Copy | ( | const KFbxObject & | pObject | ) | [virtual] |
Copy an object content into this object.
pObject | The source object to copy data from. |
Reimplemented from KFbxObject.
virtual KStringList GetTypeFlags | ( | ) | const [protected, virtual] |
Reimplemented from KFbxDeformer.
friend class KFbxScene [friend] |
Reimplemented from KFbxDeformer.
Definition at line 137 of file kfbxblendshape.h.