nw::model::EmitterNode

struct EmitterNode : public nw::model::Node

Public Functions

EmitterNode(String name_)
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

float blastlength = {0.0f}
float blastradius = {0.0f}
String blend
String chunkname
float deadspace = {0.0f}
uint32_t loop = {0}
String render
uint32_t renderorder = {0}
int32_t spawntype = {0}
String texture
uint32_t twosidedtex = {0}
String update
uint32_t xgrid = {0}
uint32_t ygrid = {0}
uint32_t flags = {0}
uint32_t render_sel = {0}
uint32_t blend_sel = {0}
uint32_t update_sel = {0}
uint32_t spawntype_sel = {0}
float opacity = {0.0f}
String p2p_type
uint32_t tilefade = {0}
String name
const uint32_t type
bool inheritcolor = false
Node *parent = nullptr
Vector<Node*> children
Vector<ControllerKey> controller_keys
Vector<float> controller_data