kakozuzo/Code/swb_shared/ScreenShake.cs

17 lines
462 B
C#
Raw Permalink Normal View History

2024-10-30 19:01:58 +03:00
namespace SWB.Shared;
public class ScreenShake
{
/// <summary>Duration (s)</summary>
[KeyProperty] public float Duration { get; set; } = 0f;
/// <summary>Delay between shakes (s)</summary>
[KeyProperty] public float Delay { get; set; } = 0f;
/// <summary>Screen disposition amount</summary>
[KeyProperty] public float Size { get; set; } = 0f;
/// <summary>Screen rotation amount</summary>
[KeyProperty] public float Rotation { get; set; } = 0f;
}