NiVE愛用者スレ2 【NicoVisualEffects】
at STREAMING
197:名無しさん@お腹いっぱい。
08/04/13 03:22:57 hwp7DGGo0
>>196
ほれ。
PointFProperty pos = (PointFProperty)ExpressionUtils.GetProperty(Property.ThisProperty, "位置");
//第一キーフレーム(f1 = フレーム・p1 = 位置)
int f1 = 0;
PointF p1 = new PointF(40, 30);
//第二キーフレーム(f2 = フレーム・p3 = 位置)
int f2 = 30;
PointF p2 = new PointF(320, 240);
int Idx = Property.Index;
int df = Math.Abs(f2 - f1);
double Param = 2 * (((30 - (double)Idx) % df + 1) / df);
pos.TypeSafeValue = ExpressionUtils.Ease( f1, p1, f2, p2, Idx, Param);
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
5370日前に更新/111 KB
担当:undef