Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Graphics.CameraModifiers.PunchCameraModifier Class Reference

Public Member Functions

 PunchCameraModifier (Vector2 startPosition, Vector2 direction, float strength, float vibrationCyclesPerSecond, int frames, float distanceFalloff=-1f, string uniqueIdentity=null)
 
void Update (ref CameraInfo cameraInfo)
 

Properties

string UniqueIdentity [get, private set]
 
bool Finished [get, private set]
 

Private Attributes

int _framesToLast
 
Vector2 _startPosition
 
Vector2 _direction
 
float _distanceFalloff
 
float _strength
 
float _vibrationCyclesPerSecond
 
int _framesLasted
 

Detailed Description

Definition at line 6 of file PunchCameraModifier.cs.


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