The U4DCameraBasicFollow class provides the camera behavior for a Basic Follow 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 U4DCameraBasicFollow class provides the camera behavior for a Basic Follow camera.
◆ setParameters()
| void U4DEngine::U4DCameraBasicFollow::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 behind the 3D model |
Implements U4DEngine::U4DCameraInterface.
◆ sharedInstance()
◆ update()
| void U4DEngine::U4DCameraBasicFollow::update |
( |
double |
dt | ) |
|
|
virtual |