Unity 贝塞尔曲线 AnimationCurve
作者:互联网
申请贝塞尔曲线变量
[Tooltip("贝塞尔曲线")]
public AnimationCurve curve1 = AnimationCurve.Linear(0, 0, 1, 1);
public AnimationCurve curve2 = AnimationCurve.EaseInOut(0, 0, 1, 1);
public AnimationCurve curve3 = AnimationCurve.Constant(0, 1, 1);
赋值结果:
curve1:
curve2:
curve3:
三种不同曲率的曲线
未完待续,随时更新……
标签:AnimationCurve,贝塞尔,曲线,curve1,curve3,Unity,public 来源: https://blog.csdn.net/zhang2333333333/article/details/113697783