OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
LightGroup::Light Class Referencefinal

#include <lightgroup.h>

Public Member Functions

 Light ()=default
 
 Light (Light &&other)
 
Lightoperator= (Light &&other)
 
 ~Light ()
 
void setPosition (float x, float y, float z)
 
void setPosition (const Tempest::Vec3 &p)
 
void setEnabled (bool e)
 
void setRange (float r)
 
void setColor (const Tempest::Vec3 &c)
 
void setColor (const std::vector< Tempest::Vec3 > &c, float fps, bool smooth)
 
void setTimeOffset (uint64_t t)
 
uint64_t effectPrefferedTime () const
 

Friends

class LightGroup
 

Detailed Description

Definition at line 18 of file lightgroup.h.

Constructor & Destructor Documentation

◆ Light() [1/2]

LightGroup::Light::Light ( )
default

◆ Light() [2/2]

LightGroup::Light::Light ( LightGroup::Light &&  oth)

Definition at line 22 of file lightgroup.cpp.

◆ ~Light()

LightGroup::Light::~Light ( )

Definition at line 32 of file lightgroup.cpp.

Member Function Documentation

◆ effectPrefferedTime()

uint64_t LightGroup::Light::effectPrefferedTime ( ) const

Definition at line 103 of file lightgroup.cpp.

◆ operator=()

LightGroup::Light & LightGroup::Light::operator= ( LightGroup::Light &&  other)

Definition at line 26 of file lightgroup.cpp.

◆ setColor() [1/2]

void LightGroup::Light::setColor ( const std::vector< Tempest::Vec3 > &  c,
float  fps,
bool  smooth 
)

◆ setColor() [2/2]

void LightGroup::Light::setColor ( const Tempest::Vec3 &  c)

◆ setEnabled()

void LightGroup::Light::setEnabled ( bool  e)

Definition at line 52 of file lightgroup.cpp.

◆ setPosition() [1/2]

void LightGroup::Light::setPosition ( const Tempest::Vec3 &  p)

◆ setPosition() [2/2]

void LightGroup::Light::setPosition ( float  x,
float  y,
float  z 
)

Definition at line 37 of file lightgroup.cpp.

◆ setRange()

void LightGroup::Light::setRange ( float  r)

Definition at line 63 of file lightgroup.cpp.

◆ setTimeOffset()

void LightGroup::Light::setTimeOffset ( uint64_t  t)

Definition at line 96 of file lightgroup.cpp.

Friends And Related Symbol Documentation

◆ LightGroup

friend class LightGroup
friend

Definition at line 42 of file lightgroup.h.


The documentation for this class was generated from the following files: