#include <llviewertextureanim.h>


Public Types | |
| enum | { TRANSLATE = 0x01 } |
Public Member Functions | |
| LLViewerTextureAnim () | |
| virtual | ~LLViewerTextureAnim () |
| void | reset () |
| S32 | animateTextures (F32 &off_s, F32 &off_t, F32 &scale_s, F32 &scale_t, F32 &rotate) |
Public Attributes | |
| F32 | mOffS |
| F32 | mOffT |
| F32 | mScaleS |
| F32 | mScaleT |
| F32 | mRot |
Protected Attributes | |
| LLFrameTimer | mTimer |
| F64 | mLastTime |
| F32 | mLastFrame |
Definition at line 38 of file llviewertextureanim.h.
| anonymous enum |
| LLViewerTextureAnim::LLViewerTextureAnim | ( | ) |
Definition at line 39 of file llviewertextureanim.cpp.
References mLastFrame, mLastTime, mOffS, mOffT, mRot, mScaleS, and mScaleT.
| LLViewerTextureAnim::~LLViewerTextureAnim | ( | ) | [virtual] |
Definition at line 48 of file llviewertextureanim.cpp.
| void LLViewerTextureAnim::reset | ( | ) | [virtual] |
Reimplemented from LLTextureAnim.
Definition at line 52 of file llviewertextureanim.cpp.
References mTimer, LLFrameTimer::reset(), and LLTextureAnim::reset().
Referenced by LLVOVolume::processUpdateMessage().


| S32 LLViewerTextureAnim::animateTextures | ( | F32 & | off_s, | |
| F32 & | off_t, | |||
| F32 & | scale_s, | |||
| F32 & | scale_t, | |||
| F32 & | rotate | |||
| ) |
Definition at line 59 of file llviewertextureanim.cpp.
References LLFrameTimer::getElapsedTimeAndResetF32(), LLFrameTimer::getElapsedTimeF32(), llfloor(), llmax(), llmin(), llround(), LLTextureAnim::LOOP, mLastFrame, mLastTime, LLTextureAnim::mLength, LLTextureAnim::mMode, mOffS, mOffT, LLTextureAnim::mRate, mRot, mScaleS, mScaleT, LLTextureAnim::mSizeX, LLTextureAnim::mSizeY, LLTextureAnim::mStart, mTimer, LLTextureAnim::ON, LLTextureAnim::PING_PONG, LLTextureAnim::REVERSE, LLTextureAnim::ROTATE, S32, LLTextureAnim::SCALE, LLTextureAnim::SMOOTH, and TRANSLATE.
Referenced by LLVOVolume::animateTextures().


Definition at line 52 of file llviewertextureanim.h.
Referenced by LLVOVolume::animateTextures(), animateTextures(), and LLViewerTextureAnim().
Definition at line 53 of file llviewertextureanim.h.
Referenced by LLVOVolume::animateTextures(), animateTextures(), and LLViewerTextureAnim().
Definition at line 54 of file llviewertextureanim.h.
Referenced by LLVOVolume::animateTextures(), animateTextures(), and LLViewerTextureAnim().
Definition at line 55 of file llviewertextureanim.h.
Referenced by LLVOVolume::animateTextures(), animateTextures(), and LLViewerTextureAnim().
Definition at line 56 of file llviewertextureanim.h.
Referenced by LLVOVolume::animateTextures(), animateTextures(), and LLViewerTextureAnim().
LLFrameTimer LLViewerTextureAnim::mTimer [protected] |
F64 LLViewerTextureAnim::mLastTime [protected] |
Definition at line 60 of file llviewertextureanim.h.
Referenced by animateTextures(), and LLViewerTextureAnim().
F32 LLViewerTextureAnim::mLastFrame [protected] |
Definition at line 61 of file llviewertextureanim.h.
Referenced by animateTextures(), and LLViewerTextureAnim().
1.5.5