Third Person Cover Shooter  1.6
CoverShooter.StrategyCamera Class Reference

Simple camera that looks and follows at characters from above. More...

Inheritance diagram for CoverShooter.StrategyCamera:
CoverShooter.BaseCamera CoverShooter.CharacterCamera

Public Attributes

bool FollowTarget = false
 Should the camera always stay on top of the target. More...
 
float FOV = 45
 Field of view. More...
 
float Speed = 10
 Speed at which the camera moves. More...
 
float Acceleration = 10
 Speed at which the camera accelerates. More...
 
float TargetTransitionDuration = 1
 Time in seconds it takes for the camera to transition between targets. More...
 
float MinHeight = 5
 Min height the camera can reach. More...
 
float MaxHeight = 15
 Max height the camera can reach. More...
 
float HeightSpeed = 1
 
- Public Attributes inherited from CoverShooter.BaseCamera
CharacterMotor Target
 Target character motor. More...
 
Action TargetChanged
 Executed on every camera target change. More...
 

Protected Member Functions

override void Update ()
 

Additional Inherited Members

- Public Member Functions inherited from CoverShooter.BaseCamera
TargetComponent< T > ()
 Get cached component of the target object. More...
 
override void DeferUpdate (ICharacterController controller)
 Asks the camera to call UpdateAfterCamera on the given controller after the camera does it's update. More...
 
override void UpdateForCharacterMotor ()
 Update performed after the character motor does it's thing. More...
 

Detailed Description

Simple camera that looks and follows at characters from above.

Member Function Documentation

◆ Update()

override void CoverShooter.StrategyCamera.Update ( )
protectedvirtual

Reimplemented from CoverShooter.BaseCamera.

Member Data Documentation

◆ Acceleration

float CoverShooter.StrategyCamera.Acceleration = 10

Speed at which the camera accelerates.

◆ FollowTarget

bool CoverShooter.StrategyCamera.FollowTarget = false

Should the camera always stay on top of the target.

◆ FOV

float CoverShooter.StrategyCamera.FOV = 45

Field of view.

◆ HeightSpeed

float CoverShooter.StrategyCamera.HeightSpeed = 1

◆ MaxHeight

float CoverShooter.StrategyCamera.MaxHeight = 15

Max height the camera can reach.

◆ MinHeight

float CoverShooter.StrategyCamera.MinHeight = 5

Min height the camera can reach.

◆ Speed

float CoverShooter.StrategyCamera.Speed = 10

Speed at which the camera moves.

◆ TargetTransitionDuration

float CoverShooter.StrategyCamera.TargetTransitionDuration = 1

Time in seconds it takes for the camera to transition between targets.


The documentation for this class was generated from the following file: