|
VR-Engage
2.3
|
Captures the configured mapping rule and the resolved material for a terrain surface category. The material pointer is non-owning and remains valid only while the mapper's Vortex material table remains valid.
#include <surfaceToVxMaterialMapper.h>
Public Attributes | |
| std::string | category |
| std::string | surfaceType |
| std::string | configuredMapping |
| const Vx::VxMaterial * | material = nullptr |
| bool | isFiltered = false |
| bool | usesRoughnessMapping = false |
| bool | usesDefaultMaterial = false |
| std::string makVre::VortexSurfaceMaterialMapping::category |
Surface category, such as soil or roughness.
| std::string makVre::VortexSurfaceMaterialMapping::surfaceType |
VR-Forces surface type within the category.
| std::string makVre::VortexSurfaceMaterialMapping::configuredMapping |
Mapping rule configured in vortexConfig.lua.
| const Vx::VxMaterial* makVre::VortexSurfaceMaterialMapping::material = nullptr |
Non-owning resolved material, or nullptr when no material applies.
| bool makVre::VortexSurfaceMaterialMapping::isFiltered = false |
Whether triangles for the surface type are filtered.
| bool makVre::VortexSurfaceMaterialMapping::usesRoughnessMapping = false |
Whether material selection depends on roughness.
| bool makVre::VortexSurfaceMaterialMapping::usesDefaultMaterial = false |
Whether the configured default material is used.