WLColorControl Struct Reference

#include <llwlparammanager.h>

Collaboration diagram for WLColorControl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 WLColorControl (F32 red, F32 green, F32 blue, F32 intensity, char const *n, char const *sliderName="")
 flag for if it's the Blue Horizon or Density color controller
WLColorControloperator= (LLVector4 const &val)
 operator LLVector4 (void) const
 operator LLVector3 (void) const
void update (LLWLParamSet &params) const

Public Attributes

F32 r
F32 g
F32 b
F32 i
char const * name
 the values
std::string mSliderName
 name to use to dereference params
bool hasSliderName
 name of the slider in menu
bool isSunOrAmbientColor
 only set slider name for true color types
bool isBlueHorizonOrDensity
 flag for if it's the sun or ambient color controller


Detailed Description

Definition at line 45 of file llwlparammanager.h.


Constructor & Destructor Documentation

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

flag for if it's the Blue Horizon or Density color controller

Definition at line 54 of file llwlparammanager.h.

References hasSliderName, isBlueHorizonOrDensity, isSunOrAmbientColor, and mSliderName.


Member Function Documentation

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

Definition at line 76 of file llwlparammanager.h.

References b, g, i, LLVector4::mV, and r.

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

Definition at line 84 of file llwlparammanager.h.

References b, g, i, and r.

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

Definition at line 88 of file llwlparammanager.h.

References b, g, and r.

void WLColorControl::update ( LLWLParamSet params  )  const [inline]


Member Data Documentation

char const* WLColorControl::name

the values

Definition at line 48 of file llwlparammanager.h.

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


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

Generated on Fri May 16 09:42:00 2008 for SecondLife by  doxygen 1.5.5