iTrackCameraMode Struct Reference
Inheritance diagram for iTrackCameraMode:
Public Types | |
| enum | TargetState |
Public Member Functions | |
| virtual bool | ResetCamera ()=0 |
| Resets this camera to its original state facing the same direction as the anchor fixed on the target,. | |
| virtual bool | SetTargetEntity (const char *name)=0 |
| Sets the target entity that we focus on when targetstate == TARGET_OBJ. | |
| virtual void | SetTargetState (TargetState targetstate)=0 |
| Sets the state of the targetting. | |
| virtual void | SetTargetYOffset (float targetyoffset)=0 |
| Since position is often set at the 'feet' of an object, set a fixed offset upwards. | |
Detailed Description
Definition at line 133 of file newcamera.h.
Member Function Documentation
| virtual bool iTrackCameraMode::ResetCamera | ( | ) | [pure virtual] |
Resets this camera to its original state facing the same direction as the anchor fixed on the target,.
| virtual bool iTrackCameraMode::SetTargetEntity | ( | const char * | name | ) | [pure virtual] |
Sets the target entity that we focus on when targetstate == TARGET_OBJ.
- Parameters:
-
The name of the entity.
| virtual void iTrackCameraMode::SetTargetState | ( | TargetState | targetstate | ) | [pure virtual] |
Sets the state of the targetting.
- TARGET_BASE: focus on the entity we're following.
- TARGET_OBJ: focus on the entity set by SetTargetEntity (...)
- TARGET_NONE: focus on nothing and also follow the on the x axis
| virtual void iTrackCameraMode::SetTargetYOffset | ( | float | targetyoffset | ) | [pure virtual] |
Since position is often set at the 'feet' of an object, set a fixed offset upwards.
The documentation for this struct was generated from the following file:
- propclass/newcamera.h
Generated for CEL: Crystal Entity Layer 1.2 by doxygen 1.4.7
