raisim::rscene::TerrainTexture
struct · #include <raisim/Rscene.hpp>
A terrain texture layer (render settings, interpreted by a viewer).
Public attributes
slot
cpp
int slotLayer slot, referenced by Terrain::baseTextureSlot and the per-sample paint.
id
cpp
std::string idLayer id and display name.
name
cpp
std::string namecolor
cpp
Color colorLayer tint. addToWorld() colors the terrain samples with the tints of their layers.
albedo
cpp
std::string albedoAlbedo, normal and displacement texture references (resolve with Scene::resolve()).
normal
cpp
std::string normaldisplacement
cpp
std::string displacementuvScale
cpp
double uvScaleTexture tiling, normal-map strength and roughness.
normalDepth
cpp
double normalDepthroughness
cpp
double roughness