淡入淡出時間

當設定為1000毫秒時,動作開始時motion的計算影響量為0。
1000毫秒後(1秒後)影響量為1.0(=100%)。

單純以臉轉向30度motionA用dadeIn=1000毫秒開始為例。從0度到30度需要480毫秒(60fps)。
乘以1000毫秒不產生變化的原因是為了讓各分鏡乘上前面的值使其變化。
請注意,淡入時間為不成比例。

淡入  變化時間
1000毫秒 483毫秒
2000毫秒 766毫秒 
4000毫秒  1216毫秒 

詳情請參閱下列連結
01. 製作APP用的動作時應注意事項
02. 更詳細說明淡入與淡出項目中的fade值套用上述例子時如下所計算。

A:淡出中動作的參數值。此處為 
a:淡出中動作的影響度。此處為100%到0%
B:
淡入中動作的參數值。此處為30°
b:淡入中動作的影響度。此處為100%到0%
L:前次(1禎前)的參數值

淡入淡出中的參數值 = B * b% + {A * a% + L * (100 - a)%} * (100 - b)%

フレーム ミリ秒 A a B b パラメータ値
0 0.0 0.0 100.00% 30.0 0.00% 0.00
1 16.7 0.0 98.33% 30.0 1.67% 0.50
2 33.3 0.0 96.67% 30.0 3.33% 1.48
3 50.0 0.0 95.00% 30.0 5.00% 2.91
4 66.7 0.0 93.33% 30.0 6.67% 4.72
5 83.3 0.0 91.67% 30.0 8.33% 6.82
6 100.0 0.0 90.00% 30.0 10.00% 9.14
7 116.7 0.0 88.33% 30.0 11.67% 11.57
8 133.3 0.0 86.67% 30.0 13.33% 14.03
9 150.0 0.0 85.00% 30.0 15.00% 16.43
10 166.7 0.0 83.33% 30.0 16.67% 18.69
11 183.3 0.0 81.67% 30.0 18.33% 20.76
12 200.0 0.0 80.00% 30.0 20.00% 22.61
13 216.7 0.0 78.33% 30.0 21.67% 24.21
14 233.3 0.0 76.67% 30.0 23.33% 25.56
15 250.0 0.0 75.00% 30.0 25.00% 26.67
16 266.7 0.0 73.33% 30.0 26.67% 27.56
17 283.3 0.0 71.67% 30.0 28.33% 28.25
18 300.0 0.0 70.00% 30.0 30.00% 28.78
19 316.7 0.0 68.33% 30.0 31.67% 29.16
20 333.3 0.0 66.67% 30.0 33.33% 29.44
21 350.0 0.0 65.00% 30.0 35.00% 29.64
22 366.7 0.0 63.33% 30.0 36.67% 29.77
23 383.3 0.0 61.67% 30.0 38.33% 29.86
24 400.0 0.0 60.00% 30.0 40.00% 29.92
25 416.7 0.0 58.33% 30.0 41.67% 29.95
26 433.3 0.0 56.67% 30.0 43.33% 29.97
27 450.0 0.0 55.00% 30.0 45.00% 29.98
28 466.7 0.0 53.33% 30.0 46.67% 29.99
29 483.3 0.0 51.67% 30.0 48.33% 30.00
30 500.0 0.0 50.00% 30.0 50.00% 30.00
31 516.7 0.0 48.33% 30.0 51.67% 30.00
32 533.3 0.0 46.67% 30.0 53.33% 30.00
33 550.0 0.0 45.00% 30.0 55.00% 30.00
34 566.7 0.0 43.33% 30.0 56.67% 30.00
35 583.3 0.0 41.67% 30.0 58.33% 30.00
36 600.0 0.0 40.00% 30.0 60.00% 30.00
37 616.7 0.0 38.33% 30.0 61.67% 30.00
38 633.3 0.0 36.67% 30.0 63.33% 30.00
39 650.0 0.0 35.00% 30.0 65.00% 30.00
40 666.7 0.0 33.33% 30.0 66.67% 30.00
41 683.3 0.0 31.67% 30.0 68.33% 30.00
42 700.0 0.0 30.00% 30.0 70.00% 30.00
43 716.7 0.0 28.33% 30.0 71.67% 30.00
44 733.3 0.0 26.67% 30.0 73.33% 30.00
45 750.0 0.0 25.00% 30.0 75.00% 30.00
46 766.7 0.0 23.33% 30.0 76.67% 30.00
47 783.3 0.0 21.67% 30.0 78.33% 30.00
48 800.0 0.0 20.00% 30.0 80.00% 30.00
49 816.7 0.0 18.33% 30.0 81.67% 30.00
50 833.3 0.0 16.67% 30.0 83.33% 30.00
51 850.0 0.0 15.00% 30.0 85.00% 30.00
52 866.7 0.0 13.33% 30.0 86.67% 30.00
53 883.3 0.0 11.67% 30.0 88.33% 30.00
54 900.0 0.0 10.00% 30.0 90.00% 30.00
55 916.7 0.0 8.33% 30.0 91.67% 30.00
56 933.3 0.0 6.67% 30.0 93.33% 30.00
57 950.0 0.0 5.00% 30.0 95.00% 30.00
58 966.7 0.0 3.33% 30.0 96.67% 30.00
59 983.3 0.0 1.67% 30.0 98.33% 30.00
60 1000.0 0.0 0.00% 30.0 100.00% 30.00
コメント