#include <dustyvectorinterpolatedtask.h>
Inheritance diagram for DustyEngine::VectorInterpolatedTask:

Public Member Functions | |
| VectorInterpolatedTask () | |
| virtual | ~VectorInterpolatedTask () |
| void | SetStartVector (irr::core::vector3df sv) |
| irr::core::vector3df | GetStartVector () |
| void | SetEndVector (irr::core::vector3df ev) |
| irr::core::vector3df | GetEndVector () |
| irr::core::vector3df | GetCurrentVector () |
| void | OnUpdate () |
| OnUpdate() is called by the TaskTree when the time has come to execute the task's code. | |
Protected Attributes | |
| irr::core::vector3df | currentVector |
| irr::core::vector3df | startVector |
| irr::core::vector3df | endVector |
Definition at line 11 of file dustyvectorinterpolatedtask.h.
|
|
|
|
|
|
|
|
GetCurrentVector() allows you to check the current vector in the interpolation.
Definition at line 48 of file dustyvectorinterpolatedtask.h. |
|
|
GetEndVector() returns the vector which the task is using as the end point for interpolation.
Definition at line 41 of file dustyvectorinterpolatedtask.h. |
|
|
GetStartVector returns the vector which is set to be the starting vector for interpolation.
Definition at line 27 of file dustyvectorinterpolatedtask.h. |
|
|
OnUpdate() is called by the TaskTree when the time has come to execute the task's code. OnUpdate is typically the most important function. OnUpdate is only called when enough time has passed or every frame, depending upon what the priority of the task is. If you want code to execute on a time-based basis, put that code here and add the task to the tree. Reimplemented from DustyEngine::InterpolatedTask. Reimplemented in DustyEngine::MoveInterpolatedTask, DustyEngine::RotateInterpolatedTask, DustyEngine::ScaleInterpolatedTask, DustyEngine::WaypointMoveInterpolatedTask, DustyEngine::WaypointRotateInterpolatedTask, and DustyEngine::WaypointScaleInterpolatedTask. |
|
|
SetEndVector sets the vector which should be used as the ending of interpolation.
Reimplemented in DustyEngine::WaypointMoveInterpolatedTask, DustyEngine::WaypointRotateInterpolatedTask, and DustyEngine::WaypointScaleInterpolatedTask. Definition at line 34 of file dustyvectorinterpolatedtask.h. |
|
|
SetStartVector will set the beginning vector for interpolation.
Reimplemented in DustyEngine::WaypointMoveInterpolatedTask, DustyEngine::WaypointRotateInterpolatedTask, and DustyEngine::WaypointScaleInterpolatedTask. Definition at line 20 of file dustyvectorinterpolatedtask.h. |
|
|
Definition at line 56 of file dustyvectorinterpolatedtask.h. |
|
|
Definition at line 59 of file dustyvectorinterpolatedtask.h. |
|
|
Definition at line 58 of file dustyvectorinterpolatedtask.h. |
1.4.6-NO