1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
17 //------------------------------------------------------------------------------
20 // This file was automatically generated by SWIG (http://www.swig.org).
23 // Do not make changes to this file unless you know what you are doing--modify
24 // the SWIG interface file instead.
25 //------------------------------------------------------------------------------
30 using System.Runtime.InteropServices;
32 public class Animation : BaseHandle {
33 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
35 internal Animation(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Animation_SWIGUpcast(cPtr), cMemoryOwn) {
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
39 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Animation obj) {
40 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
44 DisposeQueue.Instance.Add(this);
47 public override void Dispose() {
48 if (!Stage.IsInstalled()) {
49 DisposeQueue.Instance.Add(this);
54 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
57 NDalicPINVOKE.delete_Animation(swigCPtr);
59 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
61 global::System.GC.SuppressFinalize(this);
69 private EventCallbackDelegateType1<IntPtr> _animationFinishedEventCallbackDelegate;
70 private event EventHandler _animationFinishedEventHandler;
73 * @brief Event for Finished signal which can be used to subscribe/unsubscribe the event handler
74 * Finished signal is emitted when an Animation's animations have finished.
76 public event EventHandler Finished
82 _animationFinishedEventHandler += value;
83 _animationFinishedEventCallbackDelegate = OnFinished;
84 this.FinishedSignal().Connect(_animationFinishedEventCallbackDelegate);
91 if (_animationFinishedEventHandler != null)
93 this.FinishedSignal().Disconnect(_animationFinishedEventCallbackDelegate);
95 _animationFinishedEventHandler -= value;
100 // Callback for Animation FinishedSignal
101 private void OnFinished(IntPtr data)
103 if (_animationFinishedEventHandler != null)
105 //here we send all data to user event handlers
106 _animationFinishedEventHandler(this, null);
110 public static Animation GetAnimationFromPtr(global::System.IntPtr cPtr) {
111 Animation ret = new Animation(cPtr, false);
112 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
116 private float MilliSecondsToSeconds( int millisec )
118 return (float)millisec / 1000.0f;
121 private int SecondsToMilliSeconds( float sec )
123 return (int)( sec * 1000 );
130 SetDuration( MilliSecondsToSeconds( value ) );
134 return SecondsToMilliSeconds( GetDuration() );
138 public AlphaFunction DefaultAlphaFunction
142 SetDefaultAlphaFunction(value);
146 AlphaFunction ret = GetDefaultAlphaFunction();
151 public Animation.State Status
167 int ret = GetLoopCount();
180 bool ret = IsLooping();
185 public Animation.EndActions EndAction
193 return GetEndAction();
197 public void Stop(Animation.EndActions action)
199 SetEndAction(action);
200 NDalicPINVOKE.Animation_Stop(swigCPtr);
201 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
204 public int StartTime { set; get; }
205 public int EndTime { set; get; }
206 public string TargetProperty { set; get; }
207 public object Destination { set; get; }
208 public Dali.AlphaFunction AlphaFunction { set; get; }
211 public void AnimateBy(Actor target)
213 string _str1 = TargetProperty.Substring(0, 1);
214 string _str2 = TargetProperty.Substring(1);
215 string _str = _str1.ToLower() + _str2;
217 dynamic obj = (object)Destination;
219 if( this.AlphaFunction != null )
221 if( this.StartTime == 0 && this.EndTime == 0 )
223 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction );
227 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
228 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time );
233 if( this.StartTime == 0 && this.EndTime == 0 )
235 AnimateBy(new Property(target, _str), new Property.Value(obj) );
239 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
240 AnimateBy(new Property(target, _str), new Property.Value(obj), time );
245 public void AnimateBy(Actor target, string propertyIndex)
247 string _str1 = propertyIndex.Substring(0, 1);
248 string _str2 = propertyIndex.Substring(1);
249 string _str = _str1.ToLower() + _str2;
251 dynamic obj = (object)Destination;
253 if( this.AlphaFunction != null )
255 if( this.StartTime == 0 && this.EndTime == 0 )
257 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction );
261 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
262 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time );
267 if( this.StartTime == 0 && this.EndTime == 0 )
269 AnimateBy(new Property(target, _str), new Property.Value(obj) );
273 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
274 AnimateBy(new Property(target, _str), new Property.Value(obj), time );
279 public void AnimateBy(Actor target, string propertyIndex, object relativeValue)
281 string _str1 = propertyIndex.Substring(0, 1);
282 string _str2 = propertyIndex.Substring(1);
283 string _str = _str1.ToLower() + _str2;
285 dynamic obj = (object)relativeValue;
287 if( this.AlphaFunction != null )
289 if( this.StartTime == 0 && this.EndTime == 0 )
291 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction );
295 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
296 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time );
301 if( this.StartTime == 0 && this.EndTime == 0 )
303 AnimateBy(new Property(target, _str), new Property.Value(obj) );
307 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
308 AnimateBy(new Property(target, _str), new Property.Value(obj), time );
313 public void AnimateTo(Actor target)
315 string _str1 = TargetProperty.Substring(0, 1);
316 string _str2 = TargetProperty.Substring(1);
317 string _str = _str1.ToLower() + _str2;
319 dynamic obj = (object)Destination;
321 if( this.AlphaFunction != null )
323 if( this.StartTime == 0 && this.EndTime == 0 )
325 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction );
329 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
330 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time );
335 if( this.StartTime == 0 && this.EndTime == 0 )
337 AnimateTo(new Property(target, _str), new Property.Value(obj) );
341 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
342 AnimateTo(new Property(target, _str), new Property.Value(obj), time );
347 public void AnimateTo(Actor target, string propertyIndex)
349 string _str1 = propertyIndex.Substring(0, 1);
350 string _str2 = propertyIndex.Substring(1);
351 string _str = _str1.ToLower() + _str2;
353 dynamic obj = (object)Destination;
355 if( this.AlphaFunction != null )
357 if( this.StartTime == 0 && this.EndTime == 0 )
359 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction );
363 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
364 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time );
369 if( this.StartTime == 0 && this.EndTime == 0 )
371 AnimateTo(new Property(target, _str), new Property.Value(obj) );
375 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
376 AnimateTo(new Property(target, _str), new Property.Value(obj), time );
381 public void AnimateTo(Actor target, string propertyIndex, object destinationValue)
383 string _str1 = propertyIndex.Substring(0, 1);
384 string _str2 = propertyIndex.Substring(1);
385 string _str = _str1.ToLower() + _str2;
387 dynamic obj = (object)destinationValue;
389 if( this.AlphaFunction != null )
391 if( this.StartTime == 0 && this.EndTime == 0 )
393 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction );
397 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
398 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time );
403 if( this.StartTime == 0 && this.EndTime == 0 )
405 AnimateTo(new Property(target, _str), new Property.Value(obj) );
409 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
410 AnimateTo(new Property(target, _str), new Property.Value(obj), time );
415 public void AnimateBetween(Actor target, KeyFrames keyFrames)
417 string _str1 = TargetProperty.Substring(0, 1);
418 string _str2 = TargetProperty.Substring(1);
419 string _str = _str1.ToLower() + _str2;
422 if( this.AlphaFunction != null )
424 if( this.StartTime == 0 && this.EndTime == 0 )
426 AnimateBetween(new Property(target, _str), keyFrames, this.AlphaFunction);
430 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
431 AnimateBetween(new Property(target, _str), keyFrames, this.AlphaFunction, time);
436 if( this.StartTime == 0 && this.EndTime == 0 )
438 AnimateBetween(new Property(target, _str), keyFrames);
442 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
443 AnimateBetween(new Property(target, _str), keyFrames, time);
448 public void AnimateBetween(Actor target, KeyFrames keyFrames, Animation.Interpolation interpolation)
450 string _str1 = TargetProperty.Substring(0, 1);
451 string _str2 = TargetProperty.Substring(1);
452 string _str = _str1.ToLower() + _str2;
455 if( this.AlphaFunction != null )
457 if( this.StartTime == 0 && this.EndTime == 0 )
459 AnimateBetween(new Property(target, _str), keyFrames, this.AlphaFunction, interpolation);
463 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
464 AnimateBetween(new Property(target, _str), keyFrames, this.AlphaFunction, time, interpolation);
469 if( this.StartTime == 0 && this.EndTime == 0 )
471 AnimateBetween(new Property(target, _str), keyFrames, interpolation);
475 Dali.TimePeriod time = new Dali.TimePeriod( MilliSecondsToSeconds( this.StartTime ), MilliSecondsToSeconds( this.EndTime - this.StartTime ) );
476 AnimateBetween(new Property(target, _str), keyFrames, time, interpolation);
483 * @brief Create an initialized Animation.
485 * The animation will not loop.
486 * The default end action is "Bake".
487 * The default Alpha function is linear.
489 * @param [in] durationmSeconds The duration in milli seconds (int).
490 * @return A handle to a newly allocated Dali resource.
491 * @pre DurationmSeconds must be greater than zero.
493 public Animation (int durationmSeconds) : this (NDalicPINVOKE.Animation_New((float)durationmSeconds/1000.0f), true) {
494 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
497 public Animation () : this (NDalicPINVOKE.Animation_New( 0.0f ), true ) {
498 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
502 public Animation (float durationSeconds) : this (NDalicPINVOKE.Animation_New(durationSeconds), true) {
503 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
506 public static Animation DownCast(BaseHandle handle) {
507 Animation ret = new Animation(NDalicPINVOKE.Animation_DownCast(BaseHandle.getCPtr(handle)), true);
508 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
512 public Animation(Animation handle) : this(NDalicPINVOKE.new_Animation__SWIG_1(Animation.getCPtr(handle)), true) {
513 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
516 public Animation Assign(Animation rhs) {
517 Animation ret = new Animation(NDalicPINVOKE.Animation_Assign(swigCPtr, Animation.getCPtr(rhs)), false);
518 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
522 public void SetDuration(float seconds) {
523 NDalicPINVOKE.Animation_SetDuration(swigCPtr, seconds);
524 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
527 public float GetDuration() {
528 float ret = NDalicPINVOKE.Animation_GetDuration(swigCPtr);
529 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
533 public void SetLooping(bool looping) {
534 NDalicPINVOKE.Animation_SetLooping(swigCPtr, looping);
535 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
538 public void SetLoopCount(int count) {
539 NDalicPINVOKE.Animation_SetLoopCount(swigCPtr, count);
540 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
543 public int GetLoopCount() {
544 int ret = NDalicPINVOKE.Animation_GetLoopCount(swigCPtr);
545 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
549 public int GetCurrentLoop() {
550 int ret = NDalicPINVOKE.Animation_GetCurrentLoop(swigCPtr);
551 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
555 public bool IsLooping() {
556 bool ret = NDalicPINVOKE.Animation_IsLooping(swigCPtr);
557 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
561 public void SetEndAction(Animation.EndActions action) {
562 NDalicPINVOKE.Animation_SetEndAction(swigCPtr, (int)action);
563 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
566 public Animation.EndActions GetEndAction() {
567 Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetEndAction(swigCPtr);
568 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
572 public void SetDisconnectAction(Animation.EndActions disconnectAction) {
573 NDalicPINVOKE.Animation_SetDisconnectAction(swigCPtr, (int)disconnectAction);
574 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
577 public Animation.EndActions GetDisconnectAction() {
578 Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetDisconnectAction(swigCPtr);
579 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
583 public void SetDefaultAlphaFunction(AlphaFunction alpha) {
584 NDalicPINVOKE.Animation_SetDefaultAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
585 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
588 public AlphaFunction GetDefaultAlphaFunction() {
589 AlphaFunction ret = new AlphaFunction(NDalicPINVOKE.Animation_GetDefaultAlphaFunction(swigCPtr), true);
590 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
594 public void SetCurrentProgress(float progress) {
595 NDalicPINVOKE.Animation_SetCurrentProgress(swigCPtr, progress);
596 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
599 public float GetCurrentProgress() {
600 float ret = NDalicPINVOKE.Animation_GetCurrentProgress(swigCPtr);
601 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
605 public void SetSpeedFactor(float factor) {
606 NDalicPINVOKE.Animation_SetSpeedFactor(swigCPtr, factor);
607 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
610 public float GetSpeedFactor() {
611 float ret = NDalicPINVOKE.Animation_GetSpeedFactor(swigCPtr);
612 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
616 public void SetPlayRange(Vector2 range) {
617 NDalicPINVOKE.Animation_SetPlayRange(swigCPtr, Vector2.getCPtr(range));
618 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
621 public Vector2 GetPlayRange() {
622 Vector2 ret = new Vector2(NDalicPINVOKE.Animation_GetPlayRange(swigCPtr), true);
623 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
628 NDalicPINVOKE.Animation_Play(swigCPtr);
629 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
632 public void PlayFrom(float progress) {
633 NDalicPINVOKE.Animation_PlayFrom(swigCPtr, progress);
634 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
637 public void Pause() {
638 NDalicPINVOKE.Animation_Pause(swigCPtr);
639 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
642 public Animation.State GetState() {
643 Animation.State ret = (Animation.State)NDalicPINVOKE.Animation_GetState(swigCPtr);
644 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
649 NDalicPINVOKE.Animation_Stop(swigCPtr);
650 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
653 public void Clear() {
654 NDalicPINVOKE.Animation_Clear(swigCPtr);
655 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
658 public AnimationSignal FinishedSignal() {
659 AnimationSignal ret = new AnimationSignal(NDalicPINVOKE.Animation_FinishedSignal(swigCPtr), false);
660 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
664 public void AnimateBy(Property target, Property.Value relativeValue) {
665 NDalicPINVOKE.Animation_AnimateBy__SWIG_0(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(relativeValue));
666 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
669 public void AnimateBy(Property target, Property.Value relativeValue, AlphaFunction alpha) {
670 NDalicPINVOKE.Animation_AnimateBy__SWIG_1(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(relativeValue), AlphaFunction.getCPtr(alpha));
671 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
674 public void AnimateBy(Property target, Property.Value relativeValue, TimePeriod period) {
675 NDalicPINVOKE.Animation_AnimateBy__SWIG_2(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(relativeValue), TimePeriod.getCPtr(period));
676 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
679 public void AnimateBy(Property target, Property.Value relativeValue, AlphaFunction alpha, TimePeriod period) {
680 NDalicPINVOKE.Animation_AnimateBy__SWIG_3(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(relativeValue), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
681 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
684 public void AnimateTo(Property target, Property.Value destinationValue) {
685 NDalicPINVOKE.Animation_AnimateTo__SWIG_0(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(destinationValue));
686 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
689 public void AnimateTo(Property target, Property.Value destinationValue, AlphaFunction alpha) {
690 NDalicPINVOKE.Animation_AnimateTo__SWIG_1(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(destinationValue), AlphaFunction.getCPtr(alpha));
691 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
694 public void AnimateTo(Property target, Property.Value destinationValue, TimePeriod period) {
695 NDalicPINVOKE.Animation_AnimateTo__SWIG_2(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(destinationValue), TimePeriod.getCPtr(period));
696 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
699 public void AnimateTo(Property target, Property.Value destinationValue, AlphaFunction alpha, TimePeriod period) {
700 NDalicPINVOKE.Animation_AnimateTo__SWIG_3(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(destinationValue), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
701 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
704 public void AnimateBetween(Property target, KeyFrames keyFrames) {
705 NDalicPINVOKE.Animation_AnimateBetween__SWIG_0(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames));
706 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
709 public void AnimateBetween(Property target, KeyFrames keyFrames, Animation.Interpolation interpolation) {
710 NDalicPINVOKE.Animation_AnimateBetween__SWIG_1(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), (int)interpolation);
711 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
714 public void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha) {
715 NDalicPINVOKE.Animation_AnimateBetween__SWIG_2(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha));
716 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
719 public void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, Animation.Interpolation interpolation) {
720 NDalicPINVOKE.Animation_AnimateBetween__SWIG_3(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), (int)interpolation);
721 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
724 public void AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period) {
725 NDalicPINVOKE.Animation_AnimateBetween__SWIG_4(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), TimePeriod.getCPtr(period));
726 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
729 public void AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period, Animation.Interpolation interpolation) {
730 NDalicPINVOKE.Animation_AnimateBetween__SWIG_5(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), TimePeriod.getCPtr(period), (int)interpolation);
731 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
734 public void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period) {
735 NDalicPINVOKE.Animation_AnimateBetween__SWIG_6(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
736 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
739 public void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period, Animation.Interpolation interpolation) {
740 NDalicPINVOKE.Animation_AnimateBetween__SWIG_7(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period), (int)interpolation);
741 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
744 public void Animate(Actor actor, Path path, Vector3 forward) {
745 NDalicPINVOKE.Animation_Animate__SWIG_0(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward));
746 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
749 public void Animate(Actor actor, Path path, Vector3 forward, AlphaFunction alpha) {
750 NDalicPINVOKE.Animation_Animate__SWIG_1(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha));
751 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
754 public void Animate(Actor actor, Path path, Vector3 forward, TimePeriod period) {
755 NDalicPINVOKE.Animation_Animate__SWIG_2(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), TimePeriod.getCPtr(period));
756 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
759 public void Animate(Actor actor, Path path, Vector3 forward, AlphaFunction alpha, TimePeriod period) {
760 NDalicPINVOKE.Animation_Animate__SWIG_3(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
761 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
764 public void Show(Actor actor, float delaySeconds) {
765 NDalicPINVOKE.Animation_Show(swigCPtr, Actor.getCPtr(actor), delaySeconds);
766 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
769 public void Hide(Actor actor, float delaySeconds) {
770 NDalicPINVOKE.Animation_Hide(swigCPtr, Actor.getCPtr(actor), delaySeconds);
771 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
774 public enum EndActions {
780 public enum Interpolation {