Skip to content

raisin::assimp::FallbackMaterial ​

struct · #include <rayrai/AssimpMeshLoader.hpp>

Material read from an OBJ's sibling .mtl file, used when Assimp provides none.

Public attributes ​

hasColor ​

cpp
bool hasColor

color was read.

color ​

cpp
glm::vec4 color

Diffuse color.

diffuseTex ​

cpp
std::string diffuseTex

Diffuse texture path.

specularTex ​

cpp
std::string specularTex

Specular texture path.

RaiSim — physics for robotics and AI.