tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.Graphics.CameraModifiers.PunchCameraModifier Class Reference

Inherits Terraria.Graphics.CameraModifiers.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 Terraria.Graphics.CameraModifiers.ICameraModifier
bool Finished [get]
 
string UniqueIdentity [get]
 

Member Function Documentation

◆ Update()

void Terraria.Graphics.CameraModifiers.PunchCameraModifier.Update ( ref CameraInfo  cameraInfo)

Property Documentation

◆ Finished

bool Terraria.Graphics.CameraModifiers.PunchCameraModifier.Finished
get

◆ UniqueIdentity

string Terraria.Graphics.CameraModifiers.PunchCameraModifier.UniqueIdentity
get