#include <lltextureanim.h>
Inheritance diagram for LLTextureAnim:
Public Types | |
ON = 0x01 | |
LOOP = 0x02 | |
REVERSE = 0x04 | |
PING_PONG = 0x08 | |
SMOOTH = 0x10 | |
ROTATE = 0x20 | |
SCALE = 0x40 | |
enum | { ON = 0x01, LOOP = 0x02, REVERSE = 0x04, PING_PONG = 0x08, SMOOTH = 0x10, ROTATE = 0x20, SCALE = 0x40 } |
Public Member Functions | |
LLTextureAnim () | |
virtual | ~LLTextureAnim () |
virtual void | reset () |
void | packTAMessage (LLMessageSystem *mesgsys) const |
void | packTAMessage (LLDataPacker &dp) const |
void | unpackTAMessage (LLMessageSystem *mesgsys, const S32 block_num) |
void | unpackTAMessage (LLDataPacker &dp) |
BOOL | equals (const LLTextureAnim &other) const |
LLSD | asLLSD () const |
operator LLSD () const | |
bool | fromLLSD (LLSD &sd) |
Public Attributes | |
U8 | mMode |
S8 | mFace |
U8 | mSizeX |
U8 | mSizeY |
F32 | mStart |
F32 | mLength |
F32 | mRate |
Definition at line 41 of file lltextureanim.h.
anonymous enum |
Definition at line 57 of file lltextureanim.h.
LLTextureAnim::LLTextureAnim | ( | ) |
LLTextureAnim::~LLTextureAnim | ( | ) | [virtual] |
Definition at line 46 of file lltextureanim.cpp.
LLSD LLTextureAnim::asLLSD | ( | ) | const |
BOOL LLTextureAnim::equals | ( | const LLTextureAnim & | other | ) | const |
bool LLTextureAnim::fromLLSD | ( | LLSD & | sd | ) |
LLTextureAnim::operator LLSD | ( | ) | const [inline] |
void LLTextureAnim::packTAMessage | ( | LLDataPacker & | dp | ) | const |
Definition at line 110 of file lltextureanim.cpp.
References htonmemcpy(), mFace, mLength, mMode, mRate, mSizeX, mSizeY, mStart, MVT_F32, LLDataPacker::packBinaryData(), and TA_BLOCK_SIZE.
void LLTextureAnim::packTAMessage | ( | LLMessageSystem * | mesgsys | ) | const |
Definition at line 95 of file lltextureanim.cpp.
References _PREHASH_TextureAnim, LLMessageSystem::addBinaryDataFast(), htonmemcpy(), mFace, mLength, mMode, mRate, mSizeX, mSizeY, mStart, MVT_F32, and TA_BLOCK_SIZE.
void LLTextureAnim::reset | ( | ) | [virtual] |
Reimplemented in LLViewerTextureAnim.
Definition at line 51 of file lltextureanim.cpp.
References mFace, mLength, mMode, mRate, mSizeX, mSizeY, and mStart.
Referenced by LLTextureAnim(), and LLViewerTextureAnim::reset().
void LLTextureAnim::unpackTAMessage | ( | LLDataPacker & | dp | ) |
Definition at line 159 of file lltextureanim.cpp.
References htonmemcpy(), llendl, llmax(), llwarns, mFace, mLength, mMode, mRate, mSizeX, mSizeY, mStart, MVT_F32, S32, size, TA_BLOCK_SIZE, and LLDataPacker::unpackBinaryData().
void LLTextureAnim::unpackTAMessage | ( | LLMessageSystem * | mesgsys, | |
const S32 | block_num | |||
) |
Definition at line 125 of file lltextureanim.cpp.
References _PREHASH_ObjectData, _PREHASH_TextureAnim, LLMessageSystem::getBinaryDataFast(), LLMessageSystem::getSizeFast(), htonmemcpy(), llendl, llmax(), llwarns, mFace, mLength, mMode, mRate, mSizeX, mSizeY, mStart, MVT_F32, S32, size, SMOOTH, and TA_BLOCK_SIZE.
Referenced by LLVOVolume::processUpdateMessage().
Definition at line 70 of file lltextureanim.h.
Referenced by LLVOVolume::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), LLVolumeGeometryManager::rebuildGeom(), reset(), and unpackTAMessage().
Definition at line 74 of file lltextureanim.h.
Referenced by LLViewerTextureAnim::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), reset(), and unpackTAMessage().
Definition at line 69 of file lltextureanim.h.
Referenced by LLVOVolume::animateTextures(), LLViewerTextureAnim::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), LLVOVolume::processUpdateMessage(), reset(), and unpackTAMessage().
Definition at line 75 of file lltextureanim.h.
Referenced by LLVOVolume::animateTextures(), LLViewerTextureAnim::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), reset(), and unpackTAMessage().
Definition at line 71 of file lltextureanim.h.
Referenced by LLViewerTextureAnim::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), reset(), and unpackTAMessage().
Definition at line 72 of file lltextureanim.h.
Referenced by LLViewerTextureAnim::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), reset(), and unpackTAMessage().
Definition at line 73 of file lltextureanim.h.
Referenced by LLViewerTextureAnim::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), reset(), and unpackTAMessage().