VR-Engage  2.2
Loading...
Searching...
No Matches
Human Render Updater Role Parameters

Detailed Description

Collaboration diagram for Human Render Updater Role Parameters:

Variables

constexpr const char * HumanRenderUpdaterConfig::firstPersonModelMap = "firstPersonModelMap"
 
constexpr const char * HumanRenderUpdaterConfig::healthEffectHealthMaximum = "healthEffectHealthMaximum"
 
constexpr const char * HumanRenderUpdaterConfig::healthEffectHealthMinimum = "healthEffectHealthMinimum"
 
constexpr const char * HumanRenderUpdaterConfig::healthEffectOpacityMaximum = "healthEffectOpacityMaximum"
 
constexpr const char * HumanRenderUpdaterConfig::hideFirstPersonModelWhileAiming = "hideFirstPersonModelWhileAiming"
 
constexpr const char * HumanRenderUpdaterConfig::hitEffectDuration = "hitEffectDuration"
 

Variable Documentation

◆ firstPersonModelMap

const char* HumanRenderUpdaterConfig::firstPersonModelMap = "firstPersonModelMap"
constexpr
Parameter NamefirstPersonModelMap
Parameter DescriptionMapping between weapons and model definitions for first-person view.
Parameter TypeDtInitTable
Parameter DefaultN/A
Required?Yes

Example Role Config Usage:

["humanRenderUpdater"] = {
...
firstPersonModelMap = "Table";
...
};

◆ healthEffectHealthMaximum

const char* HumanRenderUpdaterConfig::healthEffectHealthMaximum = "healthEffectHealthMaximum"
constexpr
Parameter NamehealthEffectHealthMaximum
Parameter DescriptionMaximum health value for health effect visibility.
Parameter Typedouble
Parameter Default0.85
Required?No

Example Role Config Usage:

["humanRenderUpdater"] = {
...
healthEffectHealthMaximum = 0.85;
...
};

◆ healthEffectHealthMinimum

const char* HumanRenderUpdaterConfig::healthEffectHealthMinimum = "healthEffectHealthMinimum"
constexpr
Parameter NamehealthEffectHealthMinimum
Parameter DescriptionMinimum health value for health effect visibility to prevent screen from going completely opaque.
Parameter Typedouble
Parameter Default0.15
Required?No

Example Role Config Usage:

["humanRenderUpdater"] = {
...
healthEffectHealthMinimum = 0.15;
...
};

◆ healthEffectOpacityMaximum

const char* HumanRenderUpdaterConfig::healthEffectOpacityMaximum = "healthEffectOpacityMaximum"
constexpr
Parameter NamehealthEffectOpacityMaximum
Parameter DescriptionMaximum opacity value for health effects overlay.
Parameter Typedouble
Parameter Default0.4
Required?No

Example Role Config Usage:

["humanRenderUpdater"] = {
...
healthEffectOpacityMaximum = 0.4;
...
};

◆ hideFirstPersonModelWhileAiming

const char* HumanRenderUpdaterConfig::hideFirstPersonModelWhileAiming = "hideFirstPersonModelWhileAiming"
constexpr
Parameter NamehideFirstPersonModelWhileAiming
Parameter DescriptionWhether to hide the first-person player model when aiming. Not applicable in VR mode.
Parameter Typebool
Parameter Defaultfalse
Required?No

Example Role Config Usage:

["humanRenderUpdater"] = {
...
hideFirstPersonModelWhileAiming = false;
...
};

◆ hitEffectDuration

const char* HumanRenderUpdaterConfig::hitEffectDuration = "hitEffectDuration"
constexpr
Parameter NamehitEffectDuration
Parameter DescriptionDuration of hit effects in seconds.
Parameter Typedouble
Parameter Default4.0
Required?No

Example Role Config Usage:

["humanRenderUpdater"] = {
...
hitEffectDuration = 4.0;
...
};