niveサンプル講座 超『簡単』 実用エクスプレッション

niveサンプル講座  超『簡単』  実用エクスプレッション

int x=5,y=5,interval=3;int transparency=50;PointFProperty pos = (PointFProperty)ExpressionUtils.GetProperty(Property.ThisProperty, "位置");Random rnd = new Random(Property.Index);if((Property.Index % interval)==0){ pos.X = +rnd.Next(-x, x); pos.Y = -rnd.Next(-y, y);}SingleProperty toumei = (SingleProperty)ExpressionUtils.GetProperty(Property.ThisProperty, "不透明度");toumei.TypeSafeValue = (float)rnd.Next(transparency, 100);

http://www.nicovideo.jp/watch/sm9273865