#include <llwlanimator.h>
Public Member Functions | |
| LLWLAnimator () | |
| void | update (LLWLParamSet &curParams) |
| F64 | getDayTime (void) |
| void | setDayTime (F64 dayTime) |
| void | setTrack (std::map< F32, std::string > &track, F32 dayRate, F64 dayTime=0, bool run=true) |
Public Attributes | |
| F64 | mStartTime |
| F32 | mDayRate |
| F64 | mDayTime |
| std::map< F32, std::string > | mTimeTrack |
| std::map< F32, std::string > ::iterator | mFirstIt |
| std::map< F32, std::string > ::iterator | mSecondIt |
| bool | mIsRunning |
| bool | mUseLindenTime |
Definition at line 39 of file llwlanimator.h.
| LLWLAnimator::LLWLAnimator | ( | ) |
| void LLWLAnimator::update | ( | LLWLParamSet & | curParams | ) |
Definition at line 45 of file llwlanimator.cpp.
References getDayTime(), LLWLParamManager::instance(), mFirstIt, LLWLParamSet::mix(), LLWLParamManager::mParamList, mSecondIt, and mTimeTrack.
Referenced by LLWorldEnvSettings::handleEvent(), LLFloaterEnvSettings::onChangeDayTime(), LLFloaterDayCycle::onLoadDayCycle(), LLFloaterDayCycle::onTimeSliderMoved(), LLFloaterDayCycle::syncTrack(), and LLWLParamManager::update().


| F64 LLWLAnimator::getDayTime | ( | void | ) |
Definition at line 106 of file llwlanimator.cpp.
References F_PI, LLTimer::getElapsedSeconds(), LLSky::getSunPhase(), gSky, mDayRate, mDayTime, mIsRunning, mStartTime, and mUseLindenTime.
Referenced by LLFloaterEnvSettings::syncMenu(), and update().


| void LLWLAnimator::setDayTime | ( | F64 | dayTime | ) |
Definition at line 145 of file llwlanimator.cpp.
References LLTimer::getElapsedSeconds(), mDayRate, mDayTime, and mStartTime.
Referenced by LLWorldEnvSettings::handleEvent(), LLFloaterEnvSettings::onChangeDayTime(), LLFloaterDayCycle::onTimeSliderMoved(), and setTrack().


| void LLWLAnimator::setTrack | ( | std::map< F32, std::string > & | track, | |
| F32 | dayRate, | |||
| F64 | dayTime = 0, |
|||
| bool | run = true | |||
| ) |
Definition at line 160 of file llwlanimator.cpp.
References mDayRate, mIsRunning, mTimeTrack, and setDayTime().
Referenced by LLWLParamManager::resetAnimator().


Definition at line 42 of file llwlanimator.h.
Referenced by getDayTime(), setDayTime(), and setTrack().
Definition at line 43 of file llwlanimator.h.
Referenced by getDayTime(), LLWLAnimator(), and setDayTime().
| std::map<F32, std::string> LLWLAnimator::mTimeTrack |
| std::map<F32, std::string>::iterator LLWLAnimator::mFirstIt |
| std::map<F32, std::string>::iterator LLWLAnimator::mSecondIt |
Definition at line 52 of file llwlanimator.h.
Referenced by LLFloaterWindLight::deactivateAnimator(), getDayTime(), LLWorldEnvSettings::handleEvent(), LLFloaterEnvSettings::onChangeDayTime(), LLFloaterDayCycle::onStopAnimSky(), LLFloaterDayCycle::onTimeSliderMoved(), LLFloaterEnvSettings::onUseEstateTime(), LLFloaterDayCycle::onUseLindenTime(), setTrack(), and LLWLParamManager::update().
Definition at line 53 of file llwlanimator.h.
Referenced by LLFloaterWindLight::deactivateAnimator(), getDayTime(), LLWorldEnvSettings::handleEvent(), LLWLParamManager::instance(), LLFloaterEnvSettings::onChangeDayTime(), LLFloaterDayCycle::onRunAnimSky(), LLFloaterDayCycle::onStopAnimSky(), LLFloaterDayCycle::onTimeSliderMoved(), LLFloaterEnvSettings::onUseEstateTime(), and LLFloaterDayCycle::onUseLindenTime().
1.5.5