VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtVreDiGuyIntrinsicAnimationMap Class Reference

Detailed Description

This class extends the DtDiGuyIntrinsicAnimationMap to prefer locomotion animations when selecting the best possible match for a given speed, posture, and demeanor set. It provides improved animation selection logic that results in more consistent character animations, particularly during movement.

#include <vreDiGuyIntrinsicAnimationMap.h>

Inheritance diagram for makVre::DtVreDiGuyIntrinsicAnimationMap:
[legend]

Public Member Functions

 DtVreDiGuyIntrinsicAnimationMap ()
 
 DtVreDiGuyIntrinsicAnimationMap (const DtFilename &name)
 
 DtVreDiGuyIntrinsicAnimationMap (const DtVreDiGuyIntrinsicAnimationMap &orig)
 
DtVreDiGuyIntrinsicAnimationMapoperator= (const DtVreDiGuyIntrinsicAnimationMap &orig)
 
virtual ~DtVreDiGuyIntrinsicAnimationMap () override
 

Static Public Member Functions

static DtDiGuyIntrinsicAnimationMap * create ()
 

Constructor & Destructor Documentation

◆ DtVreDiGuyIntrinsicAnimationMap() [1/3]

makVre::DtVreDiGuyIntrinsicAnimationMap::DtVreDiGuyIntrinsicAnimationMap ( )

Default constructor.

Creates a new animation map with default settings.

Referenced by DtVreDiGuyIntrinsicAnimationMap(), and operator=().

◆ DtVreDiGuyIntrinsicAnimationMap() [2/3]

makVre::DtVreDiGuyIntrinsicAnimationMap::DtVreDiGuyIntrinsicAnimationMap ( const DtFilename & name)

Constructor with filename.

Parameters
nameThe filename of the animation data to load

Creates a new animation map and loads animation data from the specified file.

◆ DtVreDiGuyIntrinsicAnimationMap() [3/3]

makVre::DtVreDiGuyIntrinsicAnimationMap::DtVreDiGuyIntrinsicAnimationMap ( const DtVreDiGuyIntrinsicAnimationMap & orig)

Copy constructor.

Parameters
origThe source animation map to copy from

Creates a new animation map as a copy of the provided original map.

References DtVreDiGuyIntrinsicAnimationMap().

◆ ~DtVreDiGuyIntrinsicAnimationMap()

virtual makVre::DtVreDiGuyIntrinsicAnimationMap::~DtVreDiGuyIntrinsicAnimationMap ( )
overridevirtual

Virtual destructor.

Cleans up resources used by the animation map.

Member Function Documentation

◆ operator=()

DtVreDiGuyIntrinsicAnimationMap & makVre::DtVreDiGuyIntrinsicAnimationMap::operator= ( const DtVreDiGuyIntrinsicAnimationMap & orig)

Assignment operator.

Parameters
origThe source animation map to copy from
Returns
Reference to this animation map after assignment

Assigns the contents of the provided animation map to this map.

References DtVreDiGuyIntrinsicAnimationMap().

◆ create()

static DtDiGuyIntrinsicAnimationMap * makVre::DtVreDiGuyIntrinsicAnimationMap::create ( )
static

Commented-out override for animation selection logic.

This section contains commented-out code that would implement simpler logic for matching animations with more consistent matching of posture and less emphasis on animation variants. This would address the issue tracked in https://jira.mak.com/browse/VRE-3283.

Note
This implementation is not currently active because the fix was deemed not important enough to risk potential unknown issues from changing the base VRF behavior. The code is kept for reference and possible future implementation.

Creates a new instance of the enhanced animation map

Returns
Pointer to a newly created DtDiGuyIntrinsicAnimationMap instance

Factory method that creates and returns a new DtVreDiGuyIntrinsicAnimationMap instance. This method provides a way to create the VREngage-specific animation map through the base class interface.

Note
The caller is responsible for deleting the returned object when finished with it.

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