This reference page is linked to from the following overview topics: Supported Scene Elements, List of Python FBX classes.
Base class for skin deformer (KFbxSkin) and vertex cache deformer (KFbxVertexCacheDeformer).
The corresponding deformer types are KFbxDeformer::eSKIN and KFbxDeformer::eVERTEX_CACHE. A deformer can be binded to a geometry (KFbxGeometry) to act on its shape. Typically, some objects under the deformer are animated, and via the deformer, the geometry is animated too.
A skin deformer contains clusters (KFbxCluster). Each cluster acts on a subset of the geometry's control points, with different weights. For example, a mesh of humanoid shape can have a skin attached, that describes the way the humanoid mesh is deformed by bones. When the bones are animated, the clusters act on the geometry to animate it too.
A vertex cache deformer contains a cache (KFbxCache). The cache contains animation information for every control point of the geometry.
Definition at line 71 of file kfbxdeformer.h.
#include <kfbxdeformer.h>
Protected Member Functions |
|
KFbxDeformer (KFbxSdkManager &pManager, char const *pName) | |
virtual KStringList | GetTypeFlags () const |
Protected Attributes |
|
KError | mError |
bool | mMultiLayer |
Friends |
|
class | KFbxGeometry |
class | KFbxScene |
Multi-Layer Flag |
|
This flag is available
for backward compatibility with older version of FBX files and
should not be used anymore.All the animation layering system has
been moved to the KFbxAnimLayer
and KFbxAnimStack
classes. |
|
void | SetMultiLayer (bool pMultiLayer) |
Set multi-layer state flag. |
|
bool | GetMultiLayer () const |
Get multi-layer state. |
|
Deformer types |
|
enum | EDeformerType
{ eUNIDENTIFIED, eSKIN, eBLENDSHAPE, eVERTEX_CACHE, eDEFORMER_COUNT } |
Deformer types. More... |
|
virtual EDeformerType | GetDeformerType () const |
Get the deformer type. |
|
Error Management |
|
enum | EError { eERROR, eERROR_COUNT } |
Error identifiers. More... |
|
KError & | GetError () |
Retrieve error object. |
|
EError | GetLastErrorID () const |
Get last error code. |
|
const char * | GetLastErrorString () const |
Get last error string. |
enum EDeformerType |
Deformer types.
eUNIDENTIFIED |
Untyped deformer. |
eSKIN |
Type KFbxSkin. |
eBLENDSHAPE |
Type KFbxBlendShape. |
eVERTEX_CACHE |
Type KFbxVertexCacheDeformer. |
eDEFORMER_COUNT |
Number of deformer types. |
Definition at line 100 of file kfbxdeformer.h.
enum EError |
KFbxDeformer | ( | KFbxSdkManager & | pManager, |
char const * | pName | ||
) | [protected] |
void SetMultiLayer | ( | bool | pMultiLayer | ) |
Set multi-layer state flag.
pMultiLayer | Set to true to enable multi-layering. |
bool GetMultiLayer | ( | ) | const |
Get multi-layer state.
virtual EDeformerType GetDeformerType | ( | ) | const [inline, virtual] |
Get the deformer type.
Reimplemented in KFbxBlendShape, KFbxSkin, and KFbxVertexCacheDeformer.
Definition at line 117 of file kfbxdeformer.h.
{ return eUNIDENTIFIED; }
KError& GetError | ( | ) |
EError GetLastErrorID | ( | ) | const |
const char* GetLastErrorString | ( | ) | const |
virtual KStringList GetTypeFlags | ( | ) | const [inline, protected, virtual] |
Reimplemented from KFbxObject.
Reimplemented in KFbxBlendShape, KFbxSkin, and KFbxVertexCacheDeformer.
Definition at line 165 of file kfbxdeformer.h.
{ return KStringList(); }
friend class KFbxGeometry
[friend] |
Definition at line 171 of file kfbxdeformer.h.
friend class KFbxScene [friend] |
Reimplemented from KFbxObject.
Reimplemented in KFbxBlendShape, and KFbxSkin.
Definition at line 172 of file kfbxdeformer.h.
Definition at line 168 of file kfbxdeformer.h.
bool mMultiLayer
[protected] |
Definition at line 169 of file kfbxdeformer.h.