nw::model::LightNode
-
struct LightNode : public nw::model::Node
Public Functions
-
LightNode(String name_)
-
virtual ~LightNode() = default
-
void add_controller_data(StringView name_, uint32_t type_, Vector<float> times_, Vector<float> data_, int rows_, int columns_ = 1)
Adds a controller to a model node.
-
ControllerValue get_controller(uint32_t type_, bool key = false) const
Gets a controller to a model node.
Public Members
-
int32_t lensflares = {0}
-
float flareradius = {0.0f}
-
float multiplier = {0.0f}
-
glm::vec3 color
-
Vector<float> flaresizes
-
Vector<float> flarepositions
-
Vector<glm::vec3> flarecolorshifts
-
Vector<String> textures
-
uint32_t lightpriority = {5}
-
int32_t ambientonly = {0}
-
bool dynamic = {true}
-
uint32_t affectdynamic = {1}
-
uint32_t shadow = {1}
-
uint32_t generateflare = {0}
-
uint32_t fadinglight = {1}
-
String name
-
const uint32_t type
-
bool inheritcolor = false
-
Vector<ControllerKey> controller_keys
-
Vector<float> controller_data
-
LightNode(String name_)