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 useMeshColorflatShading
cpp
bool flatShadingtwoSided
cpp
bool twoSideddetectable
cpp
bool detectableshadowCastingMode
cpp
std::string shadowCastingMode"inherit", "on", "off", "double_sided" or "shadows_only".
transparency
cpp
double transparencyvisibilityRangeBegin
cpp
double visibilityRangeBeginvisibilityRangeEnd
cpp
double visibilityRangeEndvisibilityRangeBeginMargin
cpp
double visibilityRangeBeginMarginvisibilityRangeEndMargin
cpp
double visibilityRangeEndMarginvisibilityRangeFadeMode
cpp
std::string visibilityRangeFadeModeautomaticMeshLod
cpp
bool automaticMeshLodautomaticMeshLodBias
cpp
double automaticMeshLodBiascustomBounds
cpp
bool customBoundscustomBoundsCenter
cpp
Vec3 customBoundsCentercustomBoundsRadius
cpp
double customBoundsRadiustransparentSortOffset
cpp
double transparentSortOffsettransparentSortUsesBoundsCenter
cpp
bool transparentSortUsesBoundsCentermaterialOverlay
cpp
std::string materialOverlayMaterial id drawn over the visual.
pbrEnvironmentEnabled
cpp
bool pbrEnvironmentEnabledPer-object environment lighting from HDR and LUT files.
pbrEnvironmentTexture
cpp
std::string pbrEnvironmentTexturepbrIrradianceTexture
cpp
std::string pbrIrradianceTexturepbrPrefilteredEnvironmentTexture
cpp
std::string pbrPrefilteredEnvironmentTexturepbrBrdfLutTexture
cpp
std::string pbrBrdfLutTexturepbrEnvironmentStrength
cpp
double pbrEnvironmentStrengthpbrEnvironmentBoxProjection
cpp
bool pbrEnvironmentBoxProjectionpbrEnvironmentProbePosition
cpp
Vec3 pbrEnvironmentProbePositionpbrEnvironmentBoxMin
cpp
Vec3 pbrEnvironmentBoxMinpbrEnvironmentBoxMax
cpp
Vec3 pbrEnvironmentBoxMax