The U4DCameraFirstPerson class provides the camera behavior for a First Person camera.
More...
Inherits U4DEngine::U4DCameraInterface.
|
void | update (double dt) |
| Updates the state of the camera behavior. More...
|
|
void | setParameters (U4DModel *uModel, float uXOffset, float uYOffset, float uZOffset) |
| Sets the parameters utilize by the behavior of the camera. More...
|
|
void | setParametersWithBoxTracking (U4DModel *uModel, float uXOffset, float uYOffset, float uZOffset, U4DPoint3n uMinPoint, U4DPoint3n uMaxPoint) |
|
void | trackBoundingBox () |
|
U4DBoundingAABB * | getBoundingBox () |
|
void | pauseBoxTracking () |
|
void | resumeBoxTracking () |
|
virtual | ~U4DCameraInterface () |
| Virtual destructor for interface. The actual destructor implementation is set by the subclasses.
|
|
The U4DCameraFirstPerson class provides the camera behavior for a First Person camera.
◆ setParameters()
void U4DEngine::U4DCameraFirstPerson::setParameters |
( |
U4DModel * |
uModel, |
|
|
float |
uXOffset, |
|
|
float |
uYOffset, |
|
|
float |
uZOffset |
|
) |
| |
|
virtual |
Sets the parameters utilize by the behavior of the camera.
- Parameters
-
uModel | 3D model entity to follow |
uXOffset | x-distance offset |
uYOffset | y-distance offset |
uZOffset | z-distance offset. This offset represents the distance the camera is ahead the 3D model |
Implements U4DEngine::U4DCameraInterface.
◆ sharedInstance()
◆ update()
void U4DEngine::U4DCameraFirstPerson::update |
( |
double |
dt | ) |
|
|
virtual |