#include <fbxanimcurvefilters.h>
This filter tries to compensate parent's scale to children's scale.
This filter is used to convert scale animation curves of nodes whose transform inherit type are eInheritRrs. In the eInheritRrs mode, child objects do not inherit scaling from parent objects at all. When a parent object is scaled, the child does not scale, but translates in order to keep proportional distance between models. If you want to change the inherit type of certain nodes from eInheritRrs to eInheritRrSs, you may call this filter to compensate scale.
Definition at line 372 of file fbxanimcurvefilters.h.
Public Member Functions |
|
| FbxAnimCurveFilterScaleCompensate () | |
| Constructor. |
|
| virtual const char * | GetName () const |
| Return name of the filter. |
|
| virtual bool | Apply (FbxAnimCurve **pCurve, int pCount, FbxIOSettings &pIOS, FbxStatus *pStatus=NULL) |
| Compensate parent's scale to children's
scale. |
|
| virtual bool | Apply (FbxAnimCurve &pCurve, FbxStatus *pStatus=NULL) |
| Always fail because this filter needs 2
curves. |
|
Constructor.
| virtual const char* GetName | ( | ) | const [virtual] |
| virtual bool Apply | ( | FbxAnimCurve ** | pCurve, |
| int | pCount, | ||
| FbxIOSettings & | pIOS, | ||
| FbxStatus * | pStatus =
NULL |
||
| ) | [virtual] |
Compensate parent's scale to children's scale.
| pCurve | In pCurve, index 0 is the curve to be filtered. index 1 is the parent curve. |
| pCount | Need to be 2. |
| pIOS | IO setting object. |
| pStatus | The FbxStatus object to hold error codes. |
true if the curve filtering operation was
successful, false otherwise.| virtual bool Apply | ( | FbxAnimCurve & | pCurve, |
| FbxStatus * | pStatus =
NULL |
||
| ) | [virtual] |
Always fail because this filter needs 2 curves.
Implements FbxAnimCurveFilter.