public static void CreateResource() { _resource = new AfterEffectsResource(30f); _resource // layer1_人_png .AddPosition( "layer1_人_png_position", new int[] { 0, 90, 107, 117, 131, 147, 162, 169, 179, 299 }, new float[] { 52f, 242f, 282f, 308f, 366f, 438f, 474f, 508f, 532f, 678f }, new float[] { 276f, 294f, 188f, 158f, 148f, 206f, 278f, 246f, 290f, 270f }) .AddRotation( "layer1_人_png_rotation", new int[] { 0, 90, 108, 131, 169, 178 }, new float[] { 20f, 0f, -43f, -12f, 0f, 13f }) // layer2_鳥_png .AddPosition( "layer2_鳥_png_position", new int[] { 0, 54, 90, 120, 139, 209, 299 }, new float[] { 660f, 489.861051392424f, 412f, 349f, 205.589212215198f, 115f, 23f }, new float[] { -20f, 71.5331734089565f, 109f, 120f, 103.796352593026f, 141f, 273f }) .AddScale( "layer2_鳥_png_scale", new int[] { 0, 54, 90, 119, 139, 209, 299 }, new float[] { 10f, 30f, 60f, 100f, 50f, 30f, 10f }) .AddRotation( "layer2_鳥_png_rotation", new int[] { 120, 299 }, new float[] { -18f, 3600f }) // layer3_ヒット_png .AddScale( "layer3_ヒット_png_scale", new int[] { 120, 121, 125, 132 }, new float[] { 100f, 200f, 100f, 40f }) .AddRotation( "layer3_ヒット_png_rotation", new int[] { 120, 132 }, new float[] { 26.8260869565217f, 101.8261f }) .AddOpacity( "layer3_ヒット_png_opacity", new int[] { 0, 119, 120, 131 }, new float[] { 0f, 0f, 100f, 0f }) // layer6_背景ルート .AddPosition( "layer6_背景ルート_position", new int[] { 0, 299 }, new float[] { 320f, -320f }, new float[] { 200f, 200f }) .AddCut("", 0, 300); }
public static void DestroyResource() { _resource = null; }