#include <content_cao.h>
Collaboration diagram for SmoothTranslator< T >:Public Member Functions | |
| SmoothTranslator ()=default | |
| void | init (T current) |
| void | update (T new_target, bool is_end_position=false, float update_interval=-1) |
| void | translate (f32 dtime) |
Public Attributes | |
| T | val_old |
| T | val_current |
| T | val_target |
| f32 | anim_time = 0 |
| f32 | anim_time_counter = 0 |
| bool | aim_is_end = true |
|
default |
| void SmoothTranslator< T >::init | ( | T | current | ) |
Referenced by GenericCAO::processInitData(), and GenericCAO::processMessage().
Here is the caller graph for this function:| void SmoothTranslator< T >::translate | ( | f32 | dtime | ) |
| void SmoothTranslator< T >::update | ( | T | new_target, |
| bool | is_end_position = false, | ||
| float | update_interval = -1 ) |
Referenced by GenericCAO::processMessage(), and GenericCAO::step().
Here is the caller graph for this function:| bool SmoothTranslator< T >::aim_is_end = true |
Referenced by GenericCAO::step().
| f32 SmoothTranslator< T >::anim_time = 0 |
Referenced by GenericCAO::step().
| f32 SmoothTranslator< T >::anim_time_counter = 0 |
| T SmoothTranslator< T >::val_current |
Referenced by GenericCAO::getPosition(), GenericCAO::step(), and GenericCAO::updateNodePos().
| T SmoothTranslator< T >::val_old |
| T SmoothTranslator< T >::val_target |
Referenced by GenericCAO::step().