This reference page is linked to from the following overview topics: List of Python Fbx classes.
A shape describes the deformation on a set of control points, which is similar to the cluster deformer in Maya.
For example, we can add a shape to a created geometry. And the shape and the geometry have the same topological information but different position of the control points. With varying amounts of influence, the geometry performs a deformation effect.
Definition at line 32 of file fbxshape.h.
#include <fbxshape.h>

Public Member Functions | |
| bool | SetBlendShapeChannel (FbxBlendShapeChannel *pBlendShapeChannel) |
| Set the blend shape channel that contains this target shape. | |
| FbxBlendShapeChannel * | GetBlendShapeChannel () const |
| Get the blend shape channel that contains this target shape. | |
| FbxGeometry * | GetBaseGeometry () |
| Get the base geometry of this target shape. | |
| int | GetControlPointIndicesCount () const |
| Get the length of the arrays of control point indices and weights. | |
| int * | GetControlPointIndices () const |
| Get the array of control point indices. | |
| void | SetControlPointIndicesCount (int pCount) |
| Set the array size for the control point indices. | |
| void | AddControlPointIndex (int pIndex) |
| Add a control point index to the control point indices array. | |
| void | Reset () |
| Restore the shape to its initial state. | |
| virtual FbxObject & | Copy (const FbxObject &pObject) |
| Copy an object content into this object. | |
Protected Member Functions | |
| virtual FbxNodeAttribute::EType | GetAttributeType () const |
| Returns the type of node attribute. | |
| virtual FbxStringList | GetTypeFlags () const |
Protected Attributes | |
| FbxArray< int > | mControlPointIndices |
| bool SetBlendShapeChannel | ( | FbxBlendShapeChannel * | pBlendShapeChannel | ) |
Set the blend shape channel that contains this target shape.
| pBlendShapeChannel | Pointer to the blend shape channel to set. |
true on success, false otherwise. | FbxBlendShapeChannel* GetBlendShapeChannel | ( | ) | const |
Get the blend shape channel that contains this target shape.
| FbxGeometry* GetBaseGeometry | ( | ) |
Get the base geometry of this target shape.
| int GetControlPointIndicesCount | ( | ) | const |
Get the length of the arrays of control point indices and weights.
| int* GetControlPointIndices | ( | ) | const |
Get the array of control point indices.
NULL if no control point indices have been added or the array has been reset. | void SetControlPointIndicesCount | ( | int | pCount | ) |
Set the array size for the control point indices.
| pCount | The new count. |
| void AddControlPointIndex | ( | int | pIndex | ) |
Add a control point index to the control point indices array.
| pIndex | The control point index to add. |
| void Reset | ( | ) |
Restore the shape to its initial state.
Calling this function will clear the following:
Copy an object content into this object.
| pObject | The source object to copy data from. |
Reimplemented from FbxGeometryBase.
| virtual FbxNodeAttribute::EType GetAttributeType | ( | ) | const [protected, virtual] |
Returns the type of node attribute.
Reimplemented from FbxLayerContainer.
| virtual FbxStringList GetTypeFlags | ( | ) | const [protected, virtual] |
Reimplemented from FbxObject.
FbxArray<int> mControlPointIndices [protected] |
Definition at line 99 of file fbxshape.h.