KFbxConstraintRotation Class Reference
#include
<kfbxconstraintrotation.h>
List of all members.
Detailed Description
This constraint class contains methods for accessing the properties
of a rotation constraint.
A rotation constraint lets you constrain the rotation of an
object based on the rotation of one or more sources.
Definition at line 59 of file kfbxconstraintrotation.h.
Member Function Documentation
| void SetLock | ( | bool | pLock | ) |  | 
 
Set the constraint lock.
- Parameters:
- 
|  | pLock | State of the lock flag. |  
 
 
 
Retrieve the constraint lock state.
- Returns:
- Current lock flag.
 
 
| void SetActive | ( | bool | pActive | ) |  | 
 
Set the constraint active.
- Parameters:
- 
|  | pActive | State of the active flag. |  
 
 
 
Retrieve the constraint active state.
- Returns:
- Current active flag.
 
 
| void SetAffectX | ( | bool | pAffect | ) |  | 
 
Set the constraint X-axis effectiveness.
- Parameters:
- 
|  | pAffect | State of the effectiveness on the X axis. |  
 
 
 
Retrieve the constraint X-axis effectiveness.
- Returns:
- Current state flag.
 
 
| void SetAffectY | ( | bool | pAffect | ) |  | 
 
Set the constraint Y-axis effectiveness.
- Parameters:
- 
|  | pAffect | State of the effectiveness on the X axis. |  
 
 
 
Retrieve the constraint Y-axis effectiveness.
- Returns:
- Current state flag.
 
 
| void SetAffectZ | ( | bool | pAffect | ) |  | 
 
Set the constraint Z-axis effectiveness.
- Parameters:
- 
|  | pAffect | State of the effectiveness on the X axis. |  
 
 
 
Retrieve the constraint Z-axis effectiveness.
- Returns:
- Current state flag.
 
 
| 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 from KFbxConstraint.
 
 
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.
- Parameters:
- 
|  | pIndex | Index of the source object |  
 
- Returns:
- Current source at the specified index.
 
 
| void SetConstrainedObject | ( | KFbxObject * | pObject | ) |  | 
 
Set the constrained object.
- Parameters:
- 
|  | pObject | The constrained object. |  
 
 
 
Retrieve the constrained object.
- Returns:
- Current constrained object.
 
 
 
KFbxConstraintRotation
KFbxConstraintRotation KFbxConstraintRotation
KFbxConstraintRotation KFbxConstraintRotation
KFbxConstraintRotation KFbxConstraintRotation
KFbxConstraintRotation KFbxConstraintRotation
KFbxConstraintRotation
KFbxConstraintRotation
KFbxConstraintRotation KFbxConstraintRotation
KFbxConstraintRotation KFbxConstraintRotation
KFbxConstraintRotation KFbxConstraintRotation
KFbxConstraintRotation KFbxConstraintRotation
KFbxConstraintRotation