i6engine  1.0
i6e::api::graphics::Graphics_Luminous_Update Struct Reference

updates the light on a GraphicsNode More...

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/configs/GraphicsConfig.h>

Public Member Functions

 Graphics_Luminous_Update ()
 
 Graphics_Luminous_Update (const int64_t i, const int64_t cid, const uint16_t lt, const Vec3 &d, const Vec3 &s, const Vec4 &a, const Vec3 &dir, double si, double so, const Vec3 &p)
 
Graphics_Luminous_Updatecopy ()
 Copy method returning an exact copy of itself. More...
 
- Public Member Functions inherited from i6e::core::MessageStruct
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
 MessageStruct ()
 Default constructor for MessageStruct. More...
 
 MessageStruct (const MessageStruct &other)
 Copy constructor for MessageStruct. More...
 
 MessageStruct (const int64_t id, const IPKey &send, const int64_t waitID)
 Constructor for MessageStruct. More...
 
 MessageStruct (int64_t id, int64_t waitID)
 
virtual ~MessageStruct ()
 Virtual destructor. More...
 
int64_t getID () const
 returns the id More...
 
int64_t getWaitID () const
 returns the waitForId More...
 

Public Attributes

uint16_t lightType
 
Vec3 diffuse
 
Vec3 specular
 
Vec4 attenuation
 
Vec3 direction
 
double spotLightRangeInner
 
double spotLightRangeOuter
 
Vec3 position
 
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
 
IPKey _sender
 
int64_t _waitForId
 

Detailed Description

updates the light on a GraphicsNode

Definition at line 185 of file GraphicsConfig.h.

Constructor & Destructor Documentation

i6e::api::graphics::Graphics_Luminous_Update::Graphics_Luminous_Update ( )
i6e::api::graphics::Graphics_Luminous_Update::Graphics_Luminous_Update ( const int64_t  i,
const int64_t  cid,
const uint16_t  lt,
const Vec3 d,
const Vec3 s,
const Vec4 a,
const Vec3 dir,
double  si,
double  so,
const Vec3 p 
)

Member Function Documentation

Graphics_Luminous_Update* i6e::api::graphics::Graphics_Luminous_Update::copy ( )
inlinevirtual

Copy method returning an exact copy of itself.

Returns
Copy of itself.

Reimplemented from i6e::core::MessageStruct.

Definition at line 196 of file GraphicsConfig.h.

Member Data Documentation

Vec4 i6e::api::graphics::Graphics_Luminous_Update::attenuation

Definition at line 189 of file GraphicsConfig.h.

Vec3 i6e::api::graphics::Graphics_Luminous_Update::diffuse

Definition at line 187 of file GraphicsConfig.h.

Vec3 i6e::api::graphics::Graphics_Luminous_Update::direction

Definition at line 190 of file GraphicsConfig.h.

uint16_t i6e::api::graphics::Graphics_Luminous_Update::lightType

Definition at line 186 of file GraphicsConfig.h.

Vec3 i6e::api::graphics::Graphics_Luminous_Update::position

Definition at line 193 of file GraphicsConfig.h.

Vec3 i6e::api::graphics::Graphics_Luminous_Update::specular

Definition at line 188 of file GraphicsConfig.h.

double i6e::api::graphics::Graphics_Luminous_Update::spotLightRangeInner

Definition at line 191 of file GraphicsConfig.h.

double i6e::api::graphics::Graphics_Luminous_Update::spotLightRangeOuter

Definition at line 192 of file GraphicsConfig.h.


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