Contains the data needed to represent a light source.
More...
#include <light.hpp>
|
| light (int32_t origin_x, int32_t origin_y, uint16_t radius, uint16_t intensity, uint16_t brightness) |
|
|
int32_t | origin_x |
|
int32_t | origin_y |
|
uint16_t | radius |
|
uint16_t | intensity |
|
uint16_t | brightness |
|
bool | is_static = false |
|
uint8_t | padding_byte {} |
|
Contains the data needed to represent a light source.
Definition at line 17 of file light.hpp.
◆ light()
ST::light::light |
( |
int32_t |
origin_x, |
|
|
int32_t |
origin_y, |
|
|
uint16_t |
radius, |
|
|
uint16_t |
intensity, |
|
|
uint16_t |
brightness |
|
) |
| |
The constructor for a light object.
- Parameters
-
origin_x | The X position of the light. |
origin_y | The Y position of the light. |
radius | The radius of the light. |
intensity | The intensity of the light. |
brightness | The brightness of the light. |
Definition at line 20 of file light.cpp.
The documentation for this struct was generated from the following files: