WaterColorControl Struct Reference

#include <llwaterparammanager.h>

Collaboration diagram for WaterColorControl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 WaterColorControl (F32 red, F32 green, F32 blue, F32 alpha, F32 intensity, char const *n, char const *sliderName="")
 only set slider name for true color types
WaterColorControloperator= (LLColor4 const &val)
 operator LLColor4 (void) const
WaterColorControloperator= (LLVector4 const &val)
 operator LLVector4 (void) const
 operator LLVector3 (void) const
void update (LLWaterParamSet &params) const

Public Attributes

F32 mR
F32 mG
F32 mB
F32 mA
F32 mI
char const * mName
 the values
std::string mSliderName
 name to use to dereference params
bool mHasSliderName
 name of the slider in menu


Detailed Description

Definition at line 44 of file llwaterparammanager.h.


Constructor & Destructor Documentation

WaterColorControl::WaterColorControl ( F32  red,
F32  green,
F32  blue,
F32  alpha,
F32  intensity,
char const *  n,
char const *  sliderName = "" 
) [inline]

only set slider name for true color types

Definition at line 51 of file llwaterparammanager.h.

References mHasSliderName, and mSliderName.


Member Function Documentation

WaterColorControl& WaterColorControl::operator= ( LLColor4 const &  val  )  [inline]

Definition at line 62 of file llwaterparammanager.h.

References mA, mB, mG, mR, and LLColor4::mV.

WaterColorControl::operator LLColor4 ( void   )  const [inline]

Definition at line 71 of file llwaterparammanager.h.

References mA, mB, mG, and mR.

WaterColorControl& WaterColorControl::operator= ( LLVector4 const &  val  )  [inline]

Definition at line 76 of file llwaterparammanager.h.

References mA, mB, mG, mR, and LLVector4::mV.

WaterColorControl::operator LLVector4 ( void   )  const [inline]

Definition at line 85 of file llwaterparammanager.h.

References mA, mB, mG, and mR.

WaterColorControl::operator LLVector3 ( void   )  const [inline]

Definition at line 90 of file llwaterparammanager.h.

References mB, mG, and mR.

void WaterColorControl::update ( LLWaterParamSet params  )  const [inline]


Member Data Documentation

the values

Definition at line 47 of file llwaterparammanager.h.

Referenced by LLFloaterWater::syncMenu(), and update().


The documentation for this struct was generated from the following file:

Generated on Fri May 16 09:41:58 2008 for SecondLife by  doxygen 1.5.5