Skip to content

raisim::rscene::TerrainTexture ​

struct · #include <raisim/Rscene.hpp>

A terrain texture layer (render settings, interpreted by a viewer).

Public attributes ​

slot ​

cpp
int slot

Layer slot, referenced by Terrain::baseTextureSlot and the per-sample paint.

id ​

cpp
std::string id

Layer id and display name.

name ​

cpp
std::string name

color ​

cpp
Color color

Layer tint. addToWorld() colors the terrain samples with the tints of their layers.

albedo ​

cpp
std::string albedo

Albedo, normal and displacement texture references (resolve with Scene::resolve()).

normal ​

cpp
std::string normal

displacement ​

cpp
std::string displacement

uvScale ​

cpp
double uvScale

Texture tiling, normal-map strength and roughness.

normalDepth ​

cpp
double normalDepth

roughness ​

cpp
double roughness

RaiSim — physics for robotics and AI.