diff options
author | Ruslan Teliuk <ruslantproductengine@lindenlab.com> | 2018-08-16 18:37:45 +0300 |
---|---|---|
committer | Ruslan Teliuk <ruslantproductengine@lindenlab.com> | 2018-08-16 18:37:45 +0300 |
commit | ac2a2dc67ee8b6855fe0bb44657e491015c93ceb (patch) | |
tree | be928acff05ba9d05f66a5aabf3c3b2ea47be125 /indra/llprimitive/lltextureentry.h | |
parent | 8a352faeae571d2ff800770070265f41a33525d9 (diff) | |
parent | 3237923e10a34d14ac4aac17400811cb1c7c3bdf (diff) |
Merged lindenlab/viewer-cougar into default
Diffstat (limited to 'indra/llprimitive/lltextureentry.h')
-rw-r--r-- | indra/llprimitive/lltextureentry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llprimitive/lltextureentry.h b/indra/llprimitive/lltextureentry.h index a40c3988f2..dc2e201044 100644 --- a/indra/llprimitive/lltextureentry.h +++ b/indra/llprimitive/lltextureentry.h @@ -136,6 +136,8 @@ public: virtual const LLUUID &getID() const { return mID; } const LLColor4 &getColor() const { return mColor; } + const F32 getAlpha() const { return mColor.mV[VALPHA]; } + void getScale(F32 *s, F32 *t) const { *s = mScaleS; *t = mScaleT; } F32 getScaleS() const { return mScaleS; } F32 getScaleT() const { return mScaleT; } |