#include <fbxblendshape.h>
Class for blend shape deformer.
A blend shape deformer takes a base shape (polygonal surface, curve, or surface) and blends it with other target shapes based on weight values. Blend shape deformer organize all target shapes via blend shape channel. One blend shape deformer can contains multiple blend shape channels, then each channel can organize multiple target shapes,
ExportScene02/main.cxx, ExportScene03/main.cxx, ImportScene/DisplayAnimation.cxx, ImportScene/DisplayShape.cxx, and ViewScene/DrawScene.cxx.
Definition at line 39 of file fbxblendshape.h.
Public Member Functions |
|
| bool | SetGeometry (FbxGeometry *pGeometry) |
| Set the geometry affected by this blend
shape deformer. |
|
| FbxGeometry * | GetGeometry () |
| Get the geometry affected by this blend
shape deformer. |
|
| bool | AddBlendShapeChannel (FbxBlendShapeChannel *pBlendShapeChannel) |
| Add a blend shape channel. |
|
| FbxBlendShapeChannel * | RemoveBlendShapeChannel (FbxBlendShapeChannel *pBlendShapeChannel) |
| Remove the given blend shape. |
|
| int | GetBlendShapeChannelCount () const |
| Get the number of blend shape channels.
|
|
| FbxBlendShapeChannel * | GetBlendShapeChannel (int pIndex) |
| Get blend shape channel at given index.
|
|
| const FbxBlendShapeChannel * | 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 the
initial state. |
|
| bool SetGeometry | ( | FbxGeometry * | pGeometry | ) |
Set the geometry affected by this blend shape deformer.
| pGeometry | Pointer to the geometry object to set. |
true on success, false
otherwise.| FbxGeometry* GetGeometry | ( | ) |
Get the geometry affected by this blend shape deformer.
NULL if
not set yet.| bool AddBlendShapeChannel | ( | FbxBlendShapeChannel * | pBlendShapeChannel | ) |
Add a blend shape channel.
| pBlendShapeChannel | Pointer to the blend shape channel object to add. |
true on success, false
otherwise.| FbxBlendShapeChannel* RemoveBlendShapeChannel | ( | FbxBlendShapeChannel * | 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.
| FbxBlendShapeChannel* GetBlendShapeChannel | ( | int | pIndex | ) |
Get blend shape channel at given index.
| pIndex | Index of the blend shape channel. |
NULL if
index is out of range.| const FbxBlendShapeChannel* 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 FbxDeformer.
Definition at line 90 of file fbxblendshape.h.
{return eBlendShape; };
| void Reset | ( | ) |
Restore the blend shape deformer to the initial state.
Calling this function will do the following: