FbxConstraintAim Class Reference
 
 
 
FbxConstraintAim Class Reference

This reference page is linked to from the following overview topics: List of Python Fbx classes.


#include <fbxconstraintaim.h>


Class Description

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.

Inheritance diagram for FbxConstraintAim:
FbxConstraint FbxObject FbxEmitter

List of all members.

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.

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.

Member Enumeration Documentation

enum EWorldUp

Constraint world up type, which has the same meaning with Maya.

Enumerator:
eAimAtSceneUp 
eAimAtObjectUp 

Constraint scene up type.

eAimAtObjectRotationUp 

Constraint object up type.

eAimAtVector 

Constraint object rotation up type.

eAimAtNone 

Constraint vector type.

eAimAtCount 

None constraint type.

Constraint world up type count.

Definition at line 33 of file fbxconstraintaim.h.


Member Function Documentation

void AddConstraintSource ( FbxObject pObject,
double  pWeight = 100 
)

Add a source to the constraint.

Parameters:
pObject New source object.
pWeight Weight of the source object.
int GetConstraintSourceCount ( ) const [virtual]

Retrieve the constraint source count.

Returns:
Current constraint source count.

Reimplemented from FbxConstraint.

FbxObject* GetConstraintSource ( int  pIndex ) const [virtual]

Retrieve a constraint source object.

Parameters:
pIndex The specified index.
Returns:
Current source at the specified index.

Reimplemented from FbxConstraint.

void SetConstrainedObject ( FbxObject pObject )

Set the constrained object.

Parameters:
pObject The constrained object.
FbxObject* GetConstrainedObject ( ) const [virtual]

Retrieve the constrained object.

Returns:
Current constrained object.

Reimplemented from FbxConstraint.

void SetWorldUpObject ( FbxObject pObject )

Set the world up object.

Parameters:
pObject The new world up object.
FbxObject* GetWorldUpObject ( ) const

Retrieve the world up object.

Returns:
The current world up object.

Member Data Documentation

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.


The documentation for this class was generated from the following file: