VR-Engage  2.2
Loading...
Searching...
No Matches
Player Component Role Parameters

Detailed Description

These parameters are available to all component types that inherit from DtPlayerComponent. They provide common configuration options for component identification and initialization. Component-specific parameters are documented in each component's own parameter group.

Variables

constexpr const char * makVre::PlayerComponentConfig::initAttributes = "initAttributes"
 
constexpr const char * makVre::PlayerComponentConfig::name = "name"
 

Variable Documentation

◆ initAttributes

const char* makVre::PlayerComponentConfig::initAttributes = "initAttributes"
constexpr
Parameter NameinitAttributes
Parameter DescriptionTable of initial attribute values to set during component initialization.
Parameter Typestring
Parameter Default""
Required?No

Example Role Config Usage:

["playerComponent"] = {
...
initAttributes = "";
...
};

◆ name

const char* makVre::PlayerComponentConfig::name = "name"
constexpr
Parameter Namename
Parameter DescriptionName to assign to this component instance for identification purposes.
Parameter Typestring
Parameter Default""
Required?No

Example Role Config Usage:

["playerComponent"] = {
...
name = "";
...
};