This reference page is linked to from the following overview topics: List of Python Fbx classes.
An aim constraint governs an object's orientation so that the object points to other objects.
For example, you can use the aim constraint to point a light at an object or group of objects.
Definition at line 26 of file fbxconstraintaim.h.
#include <fbxconstraintaim.h>

Public Types | |
| enum | EWorldUp { eAimAtSceneUp, eAimAtObjectUp, eAimAtObjectRotationUp, eAimAtVector, eAimAtNone, eAimAtCount } |
Constraint world up type, which has the same meaning with Maya. More... | |
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. | |
| void | SetWorldUpObject (FbxObject *pObject) |
| Set the world up object. | |
| FbxObject * | GetWorldUpObject () const |
| Retrieve the world up object. | |
Protected Member Functions | |
| virtual void | ConstructProperties (bool pForceSet) |
| Optional property constructor override, automatically called by default constructor. | |
| virtual EType | GetConstraintType () const |
| Access the type of the constraint. | |
Properties | |
| FbxPropertyT< FbxDouble3 > | RotationOffset |
| This property handles the rotation offset value. | |
| FbxPropertyT< FbxReference > | AimAtObjects |
| This property provides access to the object or objects which are the targets. | |
| FbxPropertyT< FbxReference > | ConstrainedObject |
| This property provides access to the object being aimed. | |
| FbxPropertyT< FbxEnum > | WorldUpType |
| This property handles world up type. | |
| FbxPropertyT< FbxReference > | WorldUpObject |
| This property handles world up object. | |
| FbxPropertyT< FbxDouble3 > | WorldUpVector |
| This property handles world up vector. | |
| FbxPropertyT< FbxDouble3 > | UpVector |
| This property handles up vector. | |
| FbxPropertyT< FbxDouble3 > | AimVector |
| This property enables you set a specific axis for the constrained object to orient towards. | |
| FbxPropertyT< FbxBool > | AffectX |
| This property handles whether to affect the rotation around X axis. | |
| FbxPropertyT< FbxBool > | AffectY |
| This property handles whether to affect the rotation around Y axis. | |
| FbxPropertyT< FbxBool > | AffectZ |
| This property handles whether to affect the rotation around Z axis. | |
| enum EWorldUp |
Constraint world up type, which has the same meaning with Maya.
Definition at line 33 of file fbxconstraintaim.h.
| 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 | The specified index. |
Reimplemented from FbxConstraint.
| void SetConstrainedObject | ( | FbxObject * | pObject | ) |
| FbxObject* GetConstrainedObject | ( | ) | const [virtual] |
Retrieve the constrained object.
Reimplemented from FbxConstraint.
| void SetWorldUpObject | ( | FbxObject * | pObject | ) |
| FbxObject* GetWorldUpObject | ( | ) | const |
| virtual void ConstructProperties | ( | bool | pForceSet | ) | [protected, virtual] |
Optional property constructor override, automatically called by default constructor.
| pForceSet | If the property value must be set regardless of default value. |
Reimplemented from FbxConstraint.
| virtual EType GetConstraintType | ( | ) | const [protected, virtual] |
Access the type of the constraint.
Reimplemented from FbxConstraint.
This property handles the rotation offset value.
Default value is (0, 0, 0).
Definition at line 51 of file fbxconstraintaim.h.
This property provides access to the object or objects which are the targets.
Definition at line 55 of file fbxconstraintaim.h.
This property provides access to the object being aimed.
Definition at line 59 of file fbxconstraintaim.h.
This property handles world up type.
Definition at line 63 of file fbxconstraintaim.h.
This property handles world up object.
Definition at line 67 of file fbxconstraintaim.h.
This property handles world up vector.
Default value is (0, 1, 0).
Definition at line 73 of file fbxconstraintaim.h.
This property handles up vector.
Default value is (0, 1, 0).
Definition at line 79 of file fbxconstraintaim.h.
This property enables you set a specific axis for the constrained object to orient towards.
Default value is (1, 0, 0).
Definition at line 85 of file fbxconstraintaim.h.
This property handles whether to affect the rotation around X axis.
Default value is true.
Definition at line 91 of file fbxconstraintaim.h.
This property handles whether to affect the rotation around Y axis.
Default value is true.
Definition at line 97 of file fbxconstraintaim.h.
This property handles whether to affect the rotation around Z axis.
Default value is true.
Definition at line 103 of file fbxconstraintaim.h.