#include
<kfbxconstraintparent.h>
It creates the same relationship as the parent-to-child relationships found in hierarchies. You can use this constraint to connect objects without changing hierarchies.
Definition at line 58 of file kfbxconstraintparent.h.
Properties |
|
KFbxTypedProperty< fbxBool1 > | AffectTranslationX |
This property handles whether to affect the
translation of the constrained object along X axis. |
|
KFbxTypedProperty< fbxBool1 > | AffectTranslationY |
This property handles whether to affect the
translation of the constrained object along Y axis. |
|
KFbxTypedProperty< fbxBool1 > | AffectTranslationZ |
This property handles whether to affect the
translation of the constrained object along Z axis. |
|
KFbxTypedProperty< fbxBool1 > | AffectRotationX |
This property handles whether to affect the
rotation of the constrained object around X axis. |
|
KFbxTypedProperty< fbxBool1 > | AffectRotationY |
This property handles whether to affect the
rotation of the constrained object around Y axis. |
|
KFbxTypedProperty< fbxBool1 > | AffectRotationZ |
This property handles whether to affect the
rotation of the constrained object around Z axis. |
|
KFbxTypedProperty< fbxBool1 > | AffectScalingX |
This property handles whether to affect the
scaling of the constrained object along X axis. |
|
KFbxTypedProperty< fbxBool1 > | AffectScalingY |
This property handles whether to affect the
scaling of the constrained object along Y axis. |
|
KFbxTypedProperty< fbxBool1 > | AffectScalingZ |
This property handles whether to affect the
scaling of the constrained object along Z axis. |
|
KFbxTypedProperty< fbxReference > | ConstraintSources |
This property used to access constraint
sources. |
|
KFbxTypedProperty< fbxReference > | ConstrainedObject |
This property used to access constrained
object. |
|
Public Member Functions |
|
void | SetLock (bool pLock) |
Set the constraint lock state. |
|
bool | GetLock () const |
Retrieve the constraint lock state. |
|
K_DEPRECATED void | SetAffectTranslationX (bool pAffect) |
This method is deprecated and should be
replaced with AffectTranslationX.Set(value). |
|
K_DEPRECATED bool | GetAffectTranslationX () const |
This method is deprecated and should be
replaced with value = AffectTranslationX.Get(). |
|
K_DEPRECATED void | SetAffectTranslationY (bool pAffect) |
This method is deprecated and should be
replaced with AffectTranslationY.Set(value). |
|
K_DEPRECATED bool | GetAffectTranslationY () const |
This method is deprecated and should be
replaced with value = AffectTranslationY.Get(). |
|
K_DEPRECATED void | SetAffectTranslationZ (bool pAffect) |
This method is deprecated and should be
replaced with AffectTranslationZ.Set(value). |
|
K_DEPRECATED bool | GetAffectTranslationZ () const |
This method is deprecated and should be
replaced with value = AffectTranslationZ.Get(). |
|
K_DEPRECATED void | SetAffectRotationX (bool pAffect) |
This method is deprecated and should be
replaced with AffectRotationX.Set(value). |
|
K_DEPRECATED bool | GetAffectRotationX () const |
This method is deprecated and should be
replaced with value = AffectRotationX.Get(). |
|
K_DEPRECATED void | SetAffectRotationY (bool pAffect) |
This method is deprecated and should be
replaced with AffectRotationY.Set(value). |
|
K_DEPRECATED bool | GetAffectRotationY () const |
This method is deprecated and should be
replaced with value = AffectRotationY.Get(). |
|
K_DEPRECATED void | SetAffectRotationZ (bool pAffect) |
This method is deprecated and should be
replaced with AffectRotationZ.Set(value). |
|
K_DEPRECATED bool | GetAffectRotationZ () const |
This method is deprecated and should be
replaced with value = AffectRotationZ.Get(). |
|
void | SetTranslationOffset (KFbxObject *pObject, KFbxVector4 pTranslation) |
Set the translation offset of the specified
constraint source. |
|
KFbxVector4 | GetTranslationOffset (const KFbxObject *pObject) const |
Retrieve the translation offset of the
specified constraint source. |
|
virtual void | SetRotationOffset (const KFbxObject *pObject, KFbxVector4 pRotation) |
Set the rotation offset of the specified
constraint source. |
|
KFbxVector4 | GetRotationOffset (const KFbxObject *pObject) const |
Retrieve the rotation offset of the
specified constraint source. |
|
void | SetWeight (double pWeight) |
Set the weight of the constraint. |
|
void | AddConstraintSource (KFbxObject *pObject, double pWeight=100) |
Add a constraint source to the constraint.
|
|
int | GetConstraintSourceCount () const |
Retrieve the constraint source count.
|
|
KFbxObject * | GetConstraintSource (int pIndex) const |
Retrieve a constraint source object.
|
|
void | SetConstrainedObject (KFbxObject *pObject) |
Set the constrained object. |
|
KFbxObject * | GetConstrainedObject () const |
Retrieve the constrained object. |
void SetLock | ( | bool | pLock | ) |
Set the constraint lock state.
pLock | The new state of the lock flag. |
bool GetLock | ( | ) | const |
Retrieve the constraint lock state.
K_DEPRECATED void SetAffectTranslationX | ( | bool | pAffect | ) |
This method is deprecated and should be replaced with AffectTranslationX.Set(value).
K_DEPRECATED bool GetAffectTranslationX | ( | ) | const |
This method is deprecated and should be replaced with value = AffectTranslationX.Get().
K_DEPRECATED void SetAffectTranslationY | ( | bool | pAffect | ) |
This method is deprecated and should be replaced with AffectTranslationY.Set(value).
K_DEPRECATED bool GetAffectTranslationY | ( | ) | const |
This method is deprecated and should be replaced with value = AffectTranslationY.Get().
K_DEPRECATED void SetAffectTranslationZ | ( | bool | pAffect | ) |
This method is deprecated and should be replaced with AffectTranslationZ.Set(value).
K_DEPRECATED bool GetAffectTranslationZ | ( | ) | const |
This method is deprecated and should be replaced with value = AffectTranslationZ.Get().
K_DEPRECATED void SetAffectRotationX | ( | bool | pAffect | ) |
This method is deprecated and should be replaced with AffectRotationX.Set(value).
K_DEPRECATED bool GetAffectRotationX | ( | ) | const |
This method is deprecated and should be replaced with value = AffectRotationX.Get().
K_DEPRECATED void SetAffectRotationY | ( | bool | pAffect | ) |
This method is deprecated and should be replaced with AffectRotationY.Set(value).
K_DEPRECATED bool GetAffectRotationY | ( | ) | const |
This method is deprecated and should be replaced with value = AffectRotationY.Get().
K_DEPRECATED void SetAffectRotationZ | ( | bool | pAffect | ) |
This method is deprecated and should be replaced with AffectRotationZ.Set(value).
K_DEPRECATED bool GetAffectRotationZ | ( | ) | const |
This method is deprecated and should be replaced with value = AffectRotationZ.Get().
void SetTranslationOffset | ( | KFbxObject * | pObject, | |
KFbxVector4 | pTranslation | |||
) |
Set the translation offset of the specified constraint source.
pObject | The specified constraint source. | |
pTranslation | The new offset vector. |
KFbxVector4 GetTranslationOffset | ( | const KFbxObject * | pObject | ) | const |
Retrieve the translation offset of the specified constraint source.
pObject | The specified constraint source. |
virtual void SetRotationOffset | ( | const KFbxObject * | pObject, | |
KFbxVector4 | pRotation | |||
) | [virtual] |
Set the rotation offset of the specified constraint source.
pObject | The specified constraint source. | |
pRotation | The new offset vector. |
KFbxVector4 GetRotationOffset | ( | const KFbxObject * | pObject | ) | const |
Retrieve the rotation offset of the specified constraint source.
pObject | The specified constraint source. |
void SetWeight | ( | double | pWeight | ) |
Set the weight of the constraint.
pWeight | The new weight value. |
void AddConstraintSource | ( | KFbxObject * | pObject, | |
double | pWeight = 100 |
|||
) |
Add a constraint source to the constraint.
pObject | New constraint source. | |
pWeight | Weight of the constraint source. |
int GetConstraintSourceCount | ( | ) | const [virtual] |
Retrieve the constraint source count.
Reimplemented from KFbxConstraint.
KFbxObject* GetConstraintSource | ( | int | pIndex | ) | const [virtual] |
Retrieve a constraint source object.
pIndex | Index of the constraint source. |
Reimplemented from KFbxConstraint.
void SetConstrainedObject | ( | KFbxObject * | pObject | ) |
Set the constrained object.
pObject | The constrained object. |
KFbxObject* GetConstrainedObject | ( | ) | const [virtual] |
Retrieve the constrained object.
Reimplemented from KFbxConstraint.
This property handles whether to affect the translation of the constrained object along X axis.
Default value is true.
Definition at line 71 of file kfbxconstraintparent.h.
This property handles whether to affect the translation of the constrained object along Y axis.
Default value is true.
Definition at line 77 of file kfbxconstraintparent.h.
This property handles whether to affect the translation of the constrained object along Z axis.
Default value is true.
Definition at line 83 of file kfbxconstraintparent.h.
This property handles whether to affect the rotation of the constrained object around X axis.
Default value is true.
Definition at line 89 of file kfbxconstraintparent.h.
This property handles whether to affect the rotation of the constrained object around Y axis.
Default value is true.
Definition at line 95 of file kfbxconstraintparent.h.
This property handles whether to affect the rotation of the constrained object around Z axis.
Default value is true.
Definition at line 101 of file kfbxconstraintparent.h.
This property handles whether to affect the scaling of the constrained object along X axis.
Default value is true.
Definition at line 107 of file kfbxconstraintparent.h.
This property handles whether to affect the scaling of the constrained object along Y axis.
Default value is true.
Definition at line 113 of file kfbxconstraintparent.h.
This property handles whether to affect the scaling of the constrained object along Z axis.
Default value is true.
Definition at line 119 of file kfbxconstraintparent.h.
This property used to access constraint sources.
A constrained object is an object whose position, orientation, and so on is driven by one or more constraint sources.
Definition at line 124 of file kfbxconstraintparent.h.
This property used to access constrained object.
A constrained object is an object whose position, orientation, and so on is driven by one or more constraint sources.
Definition at line 129 of file kfbxconstraintparent.h.