Skip to content

raisim::rscene::VisualSettings ​

struct · #include <raisim/Rscene.hpp>

Settings of a visual a viewer draws for an object (the object record's visual* keys).

Public attributes ​

useMeshColor ​

cpp
bool useMeshColor

flatShading ​

cpp
bool flatShading

twoSided ​

cpp
bool twoSided

detectable ​

cpp
bool detectable

shadowCastingMode ​

cpp
std::string shadowCastingMode

"inherit", "on", "off", "double_sided" or "shadows_only".

transparency ​

cpp
double transparency

visibilityRangeBegin ​

cpp
double visibilityRangeBegin

visibilityRangeEnd ​

cpp
double visibilityRangeEnd

visibilityRangeBeginMargin ​

cpp
double visibilityRangeBeginMargin

visibilityRangeEndMargin ​

cpp
double visibilityRangeEndMargin

visibilityRangeFadeMode ​

cpp
std::string visibilityRangeFadeMode

automaticMeshLod ​

cpp
bool automaticMeshLod

automaticMeshLodBias ​

cpp
double automaticMeshLodBias

customBounds ​

cpp
bool customBounds

customBoundsCenter ​

cpp
Vec3 customBoundsCenter

customBoundsRadius ​

cpp
double customBoundsRadius

transparentSortOffset ​

cpp
double transparentSortOffset

transparentSortUsesBoundsCenter ​

cpp
bool transparentSortUsesBoundsCenter

materialOverlay ​

cpp
std::string materialOverlay

Material id drawn over the visual.

pbrEnvironmentEnabled ​

cpp
bool pbrEnvironmentEnabled

Per-object environment lighting from HDR and LUT files.

pbrEnvironmentTexture ​

cpp
std::string pbrEnvironmentTexture

pbrIrradianceTexture ​

cpp
std::string pbrIrradianceTexture

pbrPrefilteredEnvironmentTexture ​

cpp
std::string pbrPrefilteredEnvironmentTexture

pbrBrdfLutTexture ​

cpp
std::string pbrBrdfLutTexture

pbrEnvironmentStrength ​

cpp
double pbrEnvironmentStrength

pbrEnvironmentBoxProjection ​

cpp
bool pbrEnvironmentBoxProjection

pbrEnvironmentProbePosition ​

cpp
Vec3 pbrEnvironmentProbePosition

pbrEnvironmentBoxMin ​

cpp
Vec3 pbrEnvironmentBoxMin

pbrEnvironmentBoxMax ​

cpp
Vec3 pbrEnvironmentBoxMax

RaiSim — physics for robotics and AI.