#include <kfbxconstraintposition.h>
Inherits KFbxConstraint.
Inheritance diagram for KFbxConstraintPosition:

A position constraint lets you constrain the position of an object based on the position of one or more sources.
Definition at line 64 of file kfbxconstraintposition.h.
Public Member Functions | |
| void | SetLock (bool pLock) |
| Set the constraint lock. | |
| bool | GetLock () |
| Retrieve the constraint lock state. | |
| void | SetActive (bool pActive) |
| Set the constraint active. | |
| bool | GetActive () |
| Retrieve the constraint active state. | |
| void | SetAffectX (bool pAffect) |
| Set the constraint X-axe effectiveness. | |
| bool | GetAffectX () |
| Retrieve the constraint X-axe effectiveness. | |
| void | SetAffectY (bool pAffect) |
| Set the constraint Y-axe effectiveness. | |
| bool | GetAffectY () |
| Retrieve the constraint Y-axe effectiveness. | |
| void | SetAffectZ (bool pAffect) |
| Set the constraint Z-axe effectiveness. | |
| bool | GetAffectZ () |
| Retrieve the constraint Z-axe effectiveness. | |
| virtual void | SetOffset (KFbxVector4 pTranslation) |
| Set the translation offset. | |
| KFbxVector4 | GetOffset () |
| Retrieve the constraint translation offset. | |
| void | SetWeight (double pWeight) |
| Set the weight of the constraint. | |
| double | GetSourceWeight (KFbxObject *pObject) |
| Get the weight of a source. | |
| void | AddConstraintSource (KFbxObject *pObject, double pWeight=100) |
| Add a source to the constraint. | |
| bool | RemoveConstraintSource (KFbxObject *pObject) |
| Remove a source from the constraint. | |
| int | GetConstraintSourceCount () |
| Retrieve the constraint source count. | |
| KFbxObject * | GetConstraintSource (int pIndex) |
| Retrieve a constraint source object. | |
| void | SetConstrainedObject (KFbxObject *pObject) |
| Set the constrainted object. | |
| KFbxObject * | GetConstrainedObject () |
| Retrieve the constrainted object. | |
| void SetLock | ( | bool | pLock | ) |
Set the constraint lock.
| pLock | State of the lock flag. |
| bool GetLock | ( | ) |
Retrieve the constraint lock state.
| void SetActive | ( | bool | pActive | ) |
Set the constraint active.
| pLock | State of the active flag. |
| bool GetActive | ( | ) |
Retrieve the constraint active state.
| void SetAffectX | ( | bool | pAffect | ) |
Set the constraint X-axe effectiveness.
| pAffect | State of the effectivness on the X axe. |
| bool GetAffectX | ( | ) |
Retrieve the constraint X-axe effectiveness.
| void SetAffectY | ( | bool | pAffect | ) |
Set the constraint Y-axe effectiveness.
| pAffect | State of the effectivness on the X axe. |
| bool GetAffectY | ( | ) |
Retrieve the constraint Y-axe effectiveness.
| void SetAffectZ | ( | bool | pAffect | ) |
Set the constraint Z-axe effectiveness.
| pAffect | State of the effectivness on the X axe. |
| bool GetAffectZ | ( | ) |
Retrieve the constraint Z-axe effectiveness.
| virtual void SetOffset | ( | KFbxVector4 | pTranslation | ) | [virtual] |
| KFbxVector4 GetOffset | ( | ) |
Retrieve the constraint translation offset.
| void SetWeight | ( | double | pWeight | ) |
Set the weight of the constraint.
| New | weight value. |
| double GetSourceWeight | ( | KFbxObject * | pObject | ) |
Get the weight of a source.
| Object | that we want the weight. |
| void AddConstraintSource | ( | KFbxObject * | pObject, | |
| double | pWeight = 100 | |||
| ) |
Add a source to the constraint.
| New | source object. | |
| Weight | of the source object. |
| bool RemoveConstraintSource | ( | KFbxObject * | pObject | ) |
Remove a source from the constraint.
| Source | object to remove. |
| int GetConstraintSourceCount | ( | ) |
Retrieve the constraint source count.
| KFbxObject* GetConstraintSource | ( | int | pIndex | ) |
Retrieve a constraint source object.
| void SetConstrainedObject | ( | KFbxObject * | pObject | ) |
Set the constrainted object.
| The | constrained object. |
| KFbxObject* GetConstrainedObject | ( | ) |
Retrieve the constrainted object.