Untold Engine
Beta v0.0.16
docs
|
The U4DCameraInterface provides the interface for the camera behaviors (first person camera, third person camera, etc) More...
Inherited by U4DEngine::U4DCameraBasicFollow, U4DEngine::U4DCameraFirstPerson, and U4DEngine::U4DCameraThirdPerson.
Public Member Functions | |
virtual | ~U4DCameraInterface () |
Virtual destructor for interface. The actual destructor implementation is set by the subclasses. | |
virtual void | update (double dt)=0 |
Updates the state of the camera behavior. More... | |
virtual void | setParameters (U4DModel *uModel, float uXOffset, float uYOffset, float uZOffset)=0 |
Sets the parameters utilize by the behavior of the camera. More... | |
virtual void | setParametersWithBoxTracking (U4DModel *uModel, float uXOffset, float uYOffset, float uZOffset, U4DPoint3n uMinPoint, U4DPoint3n uMaxPoint)=0 |
virtual void | trackBoundingBox ()=0 |
virtual U4DBoundingAABB * | getBoundingBox ()=0 |
virtual void | pauseBoxTracking ()=0 |
virtual void | resumeBoxTracking ()=0 |
The U4DCameraInterface provides the interface for the camera behaviors (first person camera, third person camera, etc)
|
pure virtual |
Sets the parameters utilize by the behavior of the camera.
uModel | 3D model entity to follow |
uXOffset | x-distance offset |
uYOffset | y-distance offset |
uZOffset | z-distance offset |
Implemented in U4DEngine::U4DCameraBasicFollow, U4DEngine::U4DCameraFirstPerson, and U4DEngine::U4DCameraThirdPerson.
|
pure virtual |
Updates the state of the camera behavior.
dt | time-step value |
Implemented in U4DEngine::U4DCameraBasicFollow, U4DEngine::U4DCameraFirstPerson, and U4DEngine::U4DCameraThirdPerson.