VR-Engage  2.3
Loading...
Searching...
No Matches
makVre::VortexSurfaceMaterialMapping Struct Reference

Detailed Description

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
 

Member Data Documentation

◆ category

std::string makVre::VortexSurfaceMaterialMapping::category

Surface category, such as soil or roughness.

◆ surfaceType

std::string makVre::VortexSurfaceMaterialMapping::surfaceType

VR-Forces surface type within the category.

◆ configuredMapping

std::string makVre::VortexSurfaceMaterialMapping::configuredMapping

Mapping rule configured in vortexConfig.lua.

◆ material

const Vx::VxMaterial* makVre::VortexSurfaceMaterialMapping::material = nullptr

Non-owning resolved material, or nullptr when no material applies.

◆ isFiltered

bool makVre::VortexSurfaceMaterialMapping::isFiltered = false

Whether triangles for the surface type are filtered.

◆ usesRoughnessMapping

bool makVre::VortexSurfaceMaterialMapping::usesRoughnessMapping = false

Whether material selection depends on roughness.

◆ usesDefaultMaterial

bool makVre::VortexSurfaceMaterialMapping::usesDefaultMaterial = false

Whether the configured default material is used.


The documentation for this struct was generated from the following file: