像素化

This commit is contained in:
SoulliesOfficial
2025-06-30 09:25:29 -04:00
parent f31d77197b
commit e91f378989
19 changed files with 16279 additions and 17232 deletions

View File

@@ -10,6 +10,19 @@ namespace Ichni
/// </summary>
public static class CustomCurvePresets
{
/// <summary>
/// 瞬间完成
/// </summary>
/// <returns></returns>
public static AnimationCurve Instant()
{
Keyframe[] keys = new Keyframe[2];
keys[0] = new Keyframe(0, 1, 0, 0);
keys[1] = new Keyframe(1, 1, 0, 0);
return new AnimationCurve(keys);
}
/// <summary>
/// 抛物线曲线,在中间达到最大值,两端为起始值
/// </summary>