This reference page is linked to from the following overview topics: List of Python Fbx classes.
#include <fbxconstraintscale.h>
This constraint class contains methods for accessing the properties of a scale constraint.
A scale constraint lets you constrain the scale of an object based on the scale of one or more sources.
Definition at line 26 of file fbxconstraintscale.h.
Public Member Functions |
|
| void | AddConstraintSource (FbxObject *pObject, double pWeight=100) |
| Add a source to the constraint. |
|
| int | GetConstraintSourceCount () const |
| Retrieve the constraint source count.
|
|
| FbxObject * | GetConstraintSource (int pIndex) const |
| Retrieve a constraint source object.
|
|
| void | SetConstrainedObject (FbxObject *pObject) |
| Set the constrained object. |
|
| FbxObject * | GetConstrainedObject () const |
| Retrieve the constrained object. |
|
Properties |
|
| FbxPropertyT< FbxBool > | AffectX |
| This property handles whether to affect x
axis. |
|
| FbxPropertyT< FbxBool > | AffectY |
| This property handles whether to affect y
axis. |
|
| FbxPropertyT< FbxBool > | AffectZ |
| This property handles whether to affect z
axis. |
|
| FbxPropertyT< FbxDouble3 > | Scaling |
| This property handles scaling offset.
|
|
| FbxPropertyT< FbxReference > | ConstraintSources |
| This property handles constraint source
objects. |
|
| FbxPropertyT< FbxReference > | ConstrainedObject |
| This property handles constraint target
objects. |
|
| void AddConstraintSource | ( | FbxObject * | pObject, |
| double | pWeight =
100 |
||
| ) |
Add a source to the constraint.
| pObject | New source object. |
| pWeight | Weight of the source object. |
| int GetConstraintSourceCount | ( | ) | const [virtual] |
Retrieve the constraint source count.
Reimplemented from FbxConstraint.
| FbxObject* GetConstraintSource | ( | int | pIndex | ) | const [virtual] |
Retrieve a constraint source object.
| pIndex | Index of the source |
Reimplemented from FbxConstraint.
| void SetConstrainedObject | ( | FbxObject * | pObject | ) |
| FbxObject* GetConstrainedObject | ( | ) | const [virtual] |
Retrieve the constrained object.
Reimplemented from FbxConstraint.
This property handles whether to affect x axis.
Default value is true.
Definition at line 38 of file fbxconstraintscale.h.
This property handles whether to affect y axis.
Default value is true.
Definition at line 43 of file fbxconstraintscale.h.
This property handles whether to affect z axis.
Default value is true.
Definition at line 48 of file fbxconstraintscale.h.
This property handles scaling offset.
Default value is (0, 0, 0).
Definition at line 53 of file fbxconstraintscale.h.
This property handles constraint source objects.
Definition at line 57 of file fbxconstraintscale.h.
This property handles constraint target objects.
Definition at line 61 of file fbxconstraintscale.h.