nw::model::TrimeshNode
-
struct TrimeshNode : public nw::model::Node
Subclassed by nw::model::AABBNode, nw::model::AnimeshNode, nw::model::DanglymeshNode, nw::model::SkinNode
Public Functions
-
virtual ~TrimeshNode() = 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
-
glm::vec3 ambient
-
bool beaming
-
glm::vec3 bmin
-
glm::vec3 bmax
-
String bitmap
-
glm::vec3 center
-
glm::vec3 diffuse
-
String materialname
-
bool render = {true}
-
String renderhint
-
bool rotatetexture = {false}
-
bool shadow = {false}
-
float shininess
-
glm::vec3 specular
-
std::array<String, 3> textures
-
uint32_t tilefade = {0}
-
int transparencyhint = {0}
-
bool showdispl = {false}
-
uint32_t displtype = {1}
-
uint32_t lightmapped = {0}
-
Vector<String> multimaterial
-
Vector<glm::vec3> colors
-
Vector<Vertex> vertices
-
Vector<uint16_t> indices
-
String name
-
const uint32_t type
-
bool inheritcolor = false
-
Vector<ControllerKey> controller_keys
-
Vector<float> controller_data
-
virtual ~TrimeshNode() = default