DALi C# binding - Adding Animation constructor to accept duration in milli seconds 21/93421/3
authorRavi Nanjundappa <nravi.n@samsung.com>
Tue, 25 Oct 2016 14:26:32 +0000 (19:56 +0530)
committerRavi Nanjundappa <nravi.n@samsung.com>
Tue, 25 Oct 2016 14:28:40 +0000 (19:58 +0530)
commit2278178efcda84f2e9f9200595f46311fe7b3d55
tree40122a9ae6f5f3b06f6469f301989e858b629635
parent335cf329be8baef35ffb511926258ccd9bd72285
DALi C# binding - Adding Animation constructor to accept duration in milli seconds

Inserted the code for Animation constructor which accept integer value for duration in milli seconds.
Now, _animation = new Animation(10000); will create Animation object with duration of 1000 ms (1s).
We can still use _animation = new Animation(1.0f); to create the same.
We can also use _animation.DurationMillSecs = 10000; // 10 ms

Change-Id: Ie194280a9043f395d967f12b8835c66ae22c627f
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
plugins/dali-swig/SWIG/events/animation-event.i