tModLoader v2024.09
A mod to make and play Terraria mods
PunchCameraModifier Class Reference

Inherits ICameraModifier.

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)
 
void Update (ref CameraInfo cameraPosition)
 

Properties

bool Finished [get]
 
string UniqueIdentity [get]
 
- Properties inherited from ICameraModifier
bool Finished [get]
 
string UniqueIdentity [get]
 

Member Function Documentation

◆ Update()

void PunchCameraModifier.Update ( ref CameraInfo  cameraInfo)

Implements ICameraModifier.

Property Documentation

◆ Finished

bool PunchCameraModifier.Finished
get

Implements ICameraModifier.

◆ UniqueIdentity

string PunchCameraModifier.UniqueIdentity
get

Implements ICameraModifier.