#include <FCDTransform.h>
Inheritance diagram for FCDTLookAt:
Public Member Functions | |
FCDTLookAt (FCDocument *document, FCDSceneNode *parent) | |
Constructor: do not use directly. | |
virtual | ~FCDTLookAt () |
Destructor. | |
virtual Type | GetType () const |
Retrieves the transformation class type for the transformation. | |
FCDParameterAnimatableLookAt & | GetLookAt () |
Retrieves the look-at value for this transformation. | |
const FCDParameterAnimatableLookAt & | GetLookAt () const |
See above. | |
void | SetLookAt (const FMLookAt &_lookAt) |
Sets the look-at value for this transformation. | |
FMVector3 & | GetPosition () |
Retrieves the viewer's position. | |
const FMVector3 & | GetPosition () const |
See above. | |
void | SetPosition (const FMVector3 &pos) |
Sets the viewer's position. | |
void | SetPosition (float x, float y, float z) |
Sets the viewer's position. | |
FMVector3 & | GetTarget () |
Retrieves the position that the viewer is looking at. | |
const FMVector3 & | GetTarget () const |
See above. | |
void | SetTarget (const FMVector3 &target) |
Sets the position that the viewer is looking at. | |
void | SetTarget (float x, float y, float z) |
Sets the position that the viewer is looking at. | |
FMVector3 & | GetUp () |
Retrieves the viewer's up-vector. | |
const FMVector3 & | GetUp () const |
See above. | |
void | SetUp (const FMVector3 &up) |
Sets the viewer's up-vector. | |
void | SetUp (float x, float y, float z) |
Sets the viewer's up-vector. | |
virtual FMMatrix44 | ToMatrix () const |
Converts the transformation into a matrix. | |
virtual bool | IsAnimated () const |
Retrieves whether the transformation is animated. | |
FCDAnimated * | GetAnimated () |
Retrieves the animated element for the transformation matrix. | |
virtual const FCDAnimated * | GetAnimated () const |
See above. | |
virtual FCDTransform * | Clone (FCDTransform *clone=NULL) const |
Creates a copy of a look-at transformation. |
This transformation type fully defines a position and an orientation with a 3D world by using three 3D vectors: the viewer's position, the position that the viewer is looking at, and the up-vector for camera rolls.
|
Constructor: do not use directly. Instead, use the FCDSceneNode::AddTransform function with the transformation type: LOOKAT.
|
|
Creates a copy of a look-at transformation.
Implements FCDTransform. |
|
Retrieves the animated element for the transformation matrix. FCollada now supports animated look-at transforms.
Reimplemented from FCDTransform. |
|
Retrieves the look-at value for this transformation.
|
|
Retrieves the viewer's position.
|
|
Retrieves the position that the viewer is looking at.
|
|
Retrieves the transformation class type for the transformation.
Implements FCDTransform. |
|
Retrieves the viewer's up-vector.
|
|
Retrieves whether the transformation is animated. FCollada now supports animated look-at transforms, through the FCDAnimatedCustom.
Implements FCDTransform. |
|
Sets the look-at value for this transformation.
|
|
Sets the viewer's position.
|
|
Sets the viewer's position.
|
|
Sets the position that the viewer is looking at.
|
|
Sets the position that the viewer is looking at.
|
|
Sets the viewer's up-vector.
|
|
Sets the viewer's up-vector.
|
|
Converts the transformation into a matrix.
Implements FCDTransform. |