DtFpsOrientationUpdaterAgent provides a distributed interface for controlling DtFpsOrientationUpdater objects. It enables remote control of model orientation across distributed rendering systems. This agent forwards calls to the actual updater object, handling distribution when needed.
#include <DtFpsOrientationUpdaterAgent.hpp>
◆ DtFpsOrientationUpdaterAgent()
| makVre::DtFpsOrientationUpdaterAgent::DtFpsOrientationUpdaterAgent |
( |
| ) |
|
Default constructor.
Referenced by create().
◆ ~DtFpsOrientationUpdaterAgent()
| virtual makVre::DtFpsOrientationUpdaterAgent::~DtFpsOrientationUpdaterAgent |
( |
| ) |
|
|
overridevirtual |
◆ create()
| static DtFpsOrientationUpdaterAgent * makVre::DtFpsOrientationUpdaterAgent::create |
( |
makVrv::DtAgentManagerInterface & | sceneInterface, |
|
|
bool | bDistribute = true ) |
|
static |
Static helper method to create an instance of this agent.
- Parameters
-
| sceneInterface | Reference to the agent manager interface |
| bDistribute | Flag indicating whether to distribute this agent |
- Returns
- Pointer to a newly created agent instance
References DtFpsOrientationUpdaterAgent().
◆ findObject() [1/2]
Finds the actual updater object this agent is controlling.
- Returns
- Pointer to the controlled DtFpsOrientationUpdater object
- Warning
- Any direct modifications to the actual object will NOT work when using distributed rendering
◆ findObject() [2/2]
Finds the actual updater object this agent is controlling (const version)
- Returns
- Const pointer to the controlled DtFpsOrientationUpdater object
- Warning
- Any direct modifications to the actual object will NOT work when using distributed rendering
◆ setModelHeading()
| virtual void makVre::DtFpsOrientationUpdaterAgent::setModelHeading |
( |
double | heading, |
|
|
bool | useYaw ) |
|
pure virtual |
Sets the heading of the model.
- Parameters
-
| heading | Heading angle in degrees |
| useYaw | Flag indicating whether to use yaw rotation or direct orientation |
Controls the heading rotation of the model. When useYaw is true, the heading is applied as a yaw rotation. Otherwise, it's applied as a direct orientation change.
Implemented in makVre::DtFpsOrientationUpdaterAgentImplementation.
◆ findObjectAsDtFpsOrientationUpdater()
The documentation for this class was generated from the following file: