#include <llsprite.h>
Definition at line 48 of file llsprite.h.
LLSprite::LLSprite | ( | const LLUUID & | image_uuid | ) |
Definition at line 62 of file llsprite.cpp.
References mColor, mFollow, mImageID, mImagep, mTexMode, mUseCameraUp, NULL, setPosition(), setSize(), LLColor4::setVec(), and TRUE.
LLSprite::LLSprite | ( | const LLUUID & | image_uuid, | |
const F32 | width, | |||
const F32 | height, | |||
const BOOL | b_usemipmap = TRUE | |||
) |
Definition at line 75 of file llsprite.cpp.
References mColor, mFollow, mImageID, mImagep, mTexMode, mUseCameraUp, NULL, setPosition(), setSize(), LLColor4::setVec(), and TRUE.
LLSprite::~LLSprite | ( | ) |
Definition at line 89 of file llsprite.cpp.
void LLSprite::render | ( | LLViewerCamera * | camerap | ) |
F32 LLSprite::getWidth | ( | ) | const [inline] |
F32 LLSprite::getHeight | ( | ) | const [inline] |
F32 LLSprite::getYaw | ( | ) | const [inline] |
F32 LLSprite::getPitch | ( | ) | const [inline] |
F32 LLSprite::getAlpha | ( | ) | const [inline] |
LLVector3 LLSprite::getPosition | ( | void | ) | const [inline] |
LLColor4 LLSprite::getColor | ( | ) | const [inline] |
void LLSprite::setPosition | ( | const LLVector3 & | position | ) |
Definition at line 266 of file llsprite.cpp.
References mPosition.
Referenced by LLSprite().
void LLSprite::setPitch | ( | const F32 | pitch | ) |
Definition at line 278 of file llsprite.cpp.
References mHeight, mHeightDiv2, mWidth, and mWidthDiv2.
Referenced by LLSprite().
void LLSprite::setYaw | ( | const F32 | yaw | ) |
void LLSprite::setFollow | ( | const BOOL | follow | ) |
void LLSprite::setUseCameraUp | ( | const BOOL | use_up | ) |
void LLSprite::setTexMode | ( | LLGLenum | mode | ) |
void LLSprite::setColor | ( | const LLColor4 & | color | ) |
Definition at line 311 of file llsprite.cpp.
References mColor, and LLColor4::setVec().
void LLSprite::setAlpha | ( | const F32 | alpha | ) | [inline] |
void LLSprite::setNormal | ( | const LLVector3 & | normal | ) | [inline] |
Definition at line 77 of file llsprite.h.
References LLVector3::normVec(), and sNormal.
F32 LLSprite::getAlpha | ( | ) |
void LLSprite::updateFace | ( | LLFace & | face | ) |
Definition at line 93 of file llsprite.cpp.
References dot(), LLCoordFrame::getAtAxis(), LLFace::getGeometry(), LLSingleton< LLViewerCamera >::getInstance(), LLCoordFrame::getLeftAxis(), LLCoordFrame::getOrigin(), LLCoordFrame::getUpAxis(), LLPointer< Type >::isNull(), mA, LLVertexBuffer::MAP_TEXCOORD, LLVertexBuffer::MAP_VERTEX, mB, mC, LLFace::mCenterAgent, mColor, mD, mFollow, mHeightDiv2, mPosition, mScaledRight, mScaledUp, mUseCameraUp, LLFace::mVertexBuffer, mWidthDiv2, mYaw, LLVector3::normVec(), sCameraPosition, sCameraRight, sCameraUp, LLFace::setFaceColor(), LLFace::setGeomIndex(), LLFace::setIndicesIndex(), LLFace::setSize(), LLVector3::setVec(), sNormal, and TRUE.
F32 LLSprite::mWidth [private] |
F32 LLSprite::mHeight [private] |
F32 LLSprite::mWidthDiv2 [private] |
F32 LLSprite::mHeightDiv2 [private] |
F32 LLSprite::mPitch [private] |
F32 LLSprite::mYaw [private] |
LLVector3 LLSprite::mPosition [private] |
Definition at line 93 of file llsprite.h.
Referenced by getPosition(), setPosition(), and updateFace().
BOOL LLSprite::mFollow [private] |
BOOL LLSprite::mUseCameraUp [private] |
Definition at line 95 of file llsprite.h.
Referenced by LLSprite(), setUseCameraUp(), and updateFace().
LLColor4 LLSprite::mColor [private] |
Definition at line 97 of file llsprite.h.
Referenced by getAlpha(), getColor(), LLSprite(), setAlpha(), setColor(), and updateFace().
LLGLenum LLSprite::mTexMode [private] |
LLVector3 LLSprite::mScaledUp [private] |
LLVector3 LLSprite::mScaledRight [private] |
LLVector3 LLSprite::sCameraUp [static, private] |
LLVector3 LLSprite::sCameraRight [static, private] |
LLVector3 LLSprite::sCameraPosition [static, private] |
LLVector3 LLSprite::sNormal [static, private] |
LLVector3 LLSprite::mA [private] |
LLVector3 LLSprite::mB [private] |
LLVector3 LLSprite::mC [private] |
LLVector3 LLSprite::mD [private] |