DtFpsFirstPersonUpdaterAgentImplementation provides the concrete implementation of the DtFpsFirstPersonUpdaterAgent interface. It forwards method calls to the actual DtFpsFirstPersonUpdater object and handles distributed operation.
#include <DtFpsFirstPersonUpdaterClasses.hpp>
◆ DtFpsFirstPersonUpdaterAgentImplementation()
| makVre::DtFpsFirstPersonUpdaterAgentImplementation::DtFpsFirstPersonUpdaterAgentImplementation |
( |
| ) |
|
◆ ~DtFpsFirstPersonUpdaterAgentImplementation()
| virtual makVre::DtFpsFirstPersonUpdaterAgentImplementation::~DtFpsFirstPersonUpdaterAgentImplementation |
( |
| ) |
|
|
overridevirtual |
◆ setModelPitch()
| virtual void makVre::DtFpsFirstPersonUpdaterAgentImplementation::setModelPitch |
( |
float | pitch | ) |
|
|
overridevirtual |
Sets the pitch of the first-person model.
- Parameters
-
| pitch | Pitch angle in degrees |
Controls the pitch rotation of the first-person model, relative to the parent entity's SceneObject orientation.
Implements makVre::DtFpsFirstPersonUpdaterAgent.
◆ setModelHeading()
| virtual void makVre::DtFpsFirstPersonUpdaterAgentImplementation::setModelHeading |
( |
float | heading | ) |
|
|
overridevirtual |
Sets the heading of the first-person model.
- Parameters
-
| heading | Heading angle in degrees |
Controls the heading rotation of the first-person model, relative to the parent entity's SceneObject orientation.
Implements makVre::DtFpsFirstPersonUpdaterAgent.
◆ setPitchAxis()
| virtual void makVre::DtFpsFirstPersonUpdaterAgentImplementation::setPitchAxis |
( |
char | axis | ) |
|
|
overridevirtual |
Sets the axis used for pitch rotation.
- Parameters
-
| axis | Character representing the axis ('X', 'Y', or 'Z') |
Configuration parameter that controls which axis is used by setModelPitch. Default is 'Y'.
Implements makVre::DtFpsFirstPersonUpdaterAgent.
◆ setBaseRotation()
| virtual void makVre::DtFpsFirstPersonUpdaterAgentImplementation::setBaseRotation |
( |
DtVector | yawPitchRoll | ) |
|
|
overridevirtual |
Sets the base rotation for the first-person model.
- Parameters
-
| yawPitchRoll | Vector containing yaw, pitch, and roll values in degrees |
Configuration parameter that sets a base rotation for the first-person model. Values from setModelPitch and setModelHeading are added to this base rotation. Value is relative to the parent entity's SceneObject. Default is (0,0,0).
Implements makVre::DtFpsFirstPersonUpdaterAgent.
◆ setPivotJoint()
| virtual void makVre::DtFpsFirstPersonUpdaterAgentImplementation::setPivotJoint |
( |
std::string | jointName | ) |
|
|
overridevirtual |
Sets the pivot joint for model rotation.
- Parameters
-
| jointName | Name of the skeletal joint to use as pivot |
Configuration parameter that specifies the name of the skeletal joint in the first-person model around which the model should be rotated. Default is "cervical".
Implements makVre::DtFpsFirstPersonUpdaterAgent.
◆ findObjectAsDtSceneObjectMimicUpdater()
| virtual DtSceneObjectMimicUpdater * makVre::DtFpsFirstPersonUpdaterAgentImplementation::findObjectAsDtSceneObjectMimicUpdater |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ findObjectAsDtFpsFirstPersonUpdater()
| virtual DtFpsFirstPersonUpdater * makVre::DtFpsFirstPersonUpdaterAgentImplementation::findObjectAsDtFpsFirstPersonUpdater |
( |
| ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following file: