Workspace 6.21.5
|
Put a one-line description of your datatype here. More...
#include <Rendering/SceneComponents/Lights/lightattenuationfactors.h>
Public Member Functions | |
LightAttenuationFactors () | |
LightAttenuationFactors (const LightAttenuationFactors &other) | |
~LightAttenuationFactors () override | |
LightAttenuationFactors * | clone () const override |
double | getConstant () const |
double | getLinear () const |
double | getQuadratic () const |
LightAttenuationFactors & | operator= (const LightAttenuationFactors &rhs) |
bool | operator== (const LightAttenuationFactors &rhs) const |
void | setConstant (double constant) |
void | setLinear (double linear) |
void | setQuadratic (double quadratic) |
Public Member Functions inherited from ObjectGroup | |
~ObjectGroup () override | |
bool | add (const QString &name, DataObject &obj) |
bool | canSerialize () const override |
ObjectGroup * | clone () const override=0 |
bool | empty () const |
void | ensureGroupHasData () |
void | erase (int index) |
DataObject * | getChild (const QString &name) |
const DataObject * | getChild (const QString &name) const |
DataObject & | getDataObject (int index) |
const DataObject & | getDataObject (int index) const |
int | getIndex (const QString &name) const |
const QString & | getName (int index) const |
virtual QString | getPreferedWidget (const QString &name) const |
bool | hasData () const |
bool | haveName (const QString &name) const |
bool | insert (const QString &name, DataObject &obj, int index=-1) |
bool | load (const QJsonDocument &doc) |
bool | load (const SerializedItem &item) override |
bool | save (QJsonDocument &doc) const |
bool | save (SerializedItem &item) const override |
unsigned | size () const |
Public Member Functions inherited from Clonable | |
virtual | ~Clonable ()=default |
virtual Clonable * | clone () const =0 |
Public Member Functions inherited from Serialize | |
virtual | ~Serialize ()=default |
virtual bool | canSerialize () const =0 |
virtual bool | load (const SerializedItem &item)=0 |
virtual bool | save (SerializedItem &item) const =0 |
Additional Inherited Members | |
Protected Member Functions inherited from ObjectGroup | |
ObjectGroup () | |
void | clear () |
ObjectGroup & | operator= (const ObjectGroup &rhs) |
bool | operator== (const ObjectGroup &rhs) const |
void | swap (ObjectGroup &rhs) |
Add a more detailed description of your datatype here or remove these lines if the brief description above is sufficient.
LightAttenuationFactors | ( | const LightAttenuationFactors & | other | ) |
|
override |
|
overridevirtual |
Cloning
Implements ObjectGroup.
double getConstant | ( | ) | const |
double getLinear | ( | ) | const |
double getQuadratic | ( | ) | const |
LightAttenuationFactors & operator= | ( | const LightAttenuationFactors & | rhs | ) |
Assignment
bool operator== | ( | const LightAttenuationFactors & | rhs | ) | const |
Comparison
void setConstant | ( | double | constant | ) |
void setLinear | ( | double | linear | ) |
void setQuadratic | ( | double | quadratic | ) |