#include<kfbxconstraintaim.h>
List of all members.
Detailed Description
This constraint class contains methods for accessing the properties of an aim constraint.
A aim constraint lets you constrain an object based on the properties of one or more aim objects.
Definition at line63of filekfbxconstraintaim.h.
Member Function Documentation
void SetLock | ( | bool | pLock | ) | [inline] |
Set the constraint lock.
- Parameters:
| pLock | State of the lock flag. |
Definition at line106of filekfbxconstraintaim.h.
void SetActive | ( | bool | pActive | ) | [inline] |
Set the constraint active.
- Parameters:
| pActive | State of the active flag. |
Definition at line116of filekfbxconstraintaim.h.
bool GetActive | ( | | ) | [inline] |
Retrieve the constraint active state.
- Returns:
- Current active flag.
Definition at line121of filekfbxconstraintaim.h.
void SetWeight | ( | double | pWeight | ) | |
Set the weight of the constraint.
- Parameters:
| pWeight | New weight value. |
virtual void SetOffset | ( | KFbxVector4 | pRotation | ) | [virtual] |
Set the rotation offset.
- Parameters:
| pRotation | New offset vector. |
Reimplemented fromKFbxConstraint.
Retrieve the constraint rotation offset.
- Returns:
- Current rotation offset.
Get the weight of a source.
- Parameters:
void AddConstraintSource | ( | KFbxObject* | pObject, |
| | double | pWeight=100 | |
| ) | | | |
Add a source to the constraint.
- Parameters:
| pObject | New source object. |
| pWeight | Weight of the source object. |
int GetConstraintSourceCount | ( | | ) | |
Retrieve the constraint source count.
- Returns:
- Current constraint source count.
Retrieve a constraint source object.
- Returns:
- Current source at the specified index.
Set the constrainted object.
- Parameters:
| pObject | The constrained object. |
Retrieve the constrainted object.
- Returns:
- Current constrained object.
void SetWorldUpType | ( | EAimConstraintWoldUpType | pType | ) | |
Set the world up type.
- Parameters:
EAimConstraintWoldUpType GetWorldUpType | ( | | ) | |
Retrieve the world up type.
- Returns:
- Current world up type.
Set the world up object.
- Parameters:
| pObject | The world up object. |
Retrieve the world up object.
- Returns:
- Current world up object.
Set the world up vector.
- Parameters:
| pVector | The world up vector. |
Retrieve the world up vector.
- Returns:
- Current world up vector.
Set the up vector.
- Parameters:
Retrieve the up vector.
- Returns:
- Current up vector.
Set the aim vector.
- Parameters:
Retrieve the aim vector.
- Returns:
- Current up vector.
void SetAffectX | ( | bool | pAffect | ) | [inline] |
Set the constraint X-axe effectiveness.
- Parameters:
| pAffect | State of the effectivness on the X axe. |
Definition at line222of filekfbxconstraintaim.h.
bool GetAffectX | ( | | ) | [inline] |
Retrieve the constraint X-axe effectiveness.
- Returns:
- Current state flag.
Definition at line227of filekfbxconstraintaim.h.
void SetAffectY | ( | bool | pAffect | ) | [inline] |
Set the constraint Y-axe effectiveness.
- Parameters:
| pAffect | State of the effectivness on the X axe. |
Definition at line232of filekfbxconstraintaim.h.
bool GetAffectY | ( | | ) | [inline] |
Retrieve the constraint Y-axe effectiveness.
- Returns:
- Current state flag.
Definition at line237of filekfbxconstraintaim.h.
void SetAffectZ | ( | bool | pAffect | ) | [inline] |
Set the constraint Z-axe effectiveness.
- Parameters:
| pAffect | State of the effectivness on the X axe. |
Definition at line242of filekfbxconstraintaim.h.
bool GetAffectZ | ( | | ) | [inline] |
Retrieve the constraint Z-axe effectiveness.
- Returns:
- Current state flag.
Definition at line247of filekfbxconstraintaim.h.