summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.h
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2020-02-21 12:05:46 -0700
committerDave Houlton <euclid@lindenlab.com>2020-02-21 12:05:46 -0700
commit7674c00fb934b1269192553ccd0cd029d65a4e24 (patch)
treeb5ac7ac56e27105fcbf04d02aaebe31fdb6ce083 /indra/newview/llviewerobject.h
parent01d4fd2451f6ba2f4f17c7fbf0f9511d37b20e21 (diff)
parent2c4133c8db131b08d40fc91e2881b873ea1a984d (diff)
Merge master (v 6.3.8) into DRTVWR-440
Diffstat (limited to 'indra/newview/llviewerobject.h')
-rw-r--r--indra/newview/llviewerobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.h b/indra/newview/llviewerobject.h
index e9ae26939a..03c5403a1e 100644
--- a/indra/newview/llviewerobject.h
+++ b/indra/newview/llviewerobject.h
@@ -403,6 +403,7 @@ public:
// Owner id is this object's owner
void setAttachedSound(const LLUUID &audio_uuid, const LLUUID& owner_id, const F32 gain, const U8 flags);
void adjustAudioGain(const F32 gain);
+ F32 getSoundCutOffRadius() const { return mSoundCutOffRadius; }
void clearAttachedSound() { mAudioSourcep = NULL; }
// Create if necessary
@@ -790,6 +791,7 @@ protected:
LLPointer<LLViewerPartSourceScript> mPartSourcep; // Particle source associated with this object.
LLAudioSourceVO* mAudioSourcep;
F32 mAudioGain;
+ F32 mSoundCutOffRadius;
F32 mAppAngle; // Apparent visual arc in degrees
F32 mPixelArea; // Apparent area in pixels