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 //------------------------------------------------------------------------------
31 using System.Runtime.InteropServices;
33 public class Animation : BaseHandle
35 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
37 internal Animation(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Animation_SWIGUpcast(cPtr), cMemoryOwn)
39 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
42 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Animation obj)
44 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
49 DisposeQueue.Instance.Add(this);
52 public override void Dispose()
54 if (!Window.IsInstalled())
56 DisposeQueue.Instance.Add(this);
62 if (swigCPtr.Handle != global::System.IntPtr.Zero)
67 NDalicPINVOKE.delete_Animation(swigCPtr);
69 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
71 global::System.GC.SuppressFinalize(this);
79 private EventCallbackDelegateType1<IntPtr> _animationFinishedEventCallbackDelegate;
81 private event EventHandler _animationFinishedEventHandler;
84 * @brief Event for Finished signal which can be used to subscribe/unsubscribe the event handler
85 * Finished signal is emitted when an Animation's animations have finished.
87 public event EventHandler Finished
93 _animationFinishedEventHandler += value;
94 _animationFinishedEventCallbackDelegate = OnFinished;
95 this.FinishedSignal().Connect(_animationFinishedEventCallbackDelegate);
102 if (_animationFinishedEventHandler != null)
104 this.FinishedSignal().Disconnect(_animationFinishedEventCallbackDelegate);
106 _animationFinishedEventHandler -= value;
111 // Callback for Animation FinishedSignal
112 private void OnFinished(IntPtr data)
114 if (_animationFinishedEventHandler != null)
116 //here we send all data to user event handlers
117 _animationFinishedEventHandler(this, null);
121 public static Animation GetAnimationFromPtr(global::System.IntPtr cPtr)
123 Animation ret = new Animation(cPtr, false);
124 if (NDalicPINVOKE.SWIGPendingException.Pending)
125 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
129 private float MilliSecondsToSeconds(int millisec)
131 return (float)millisec / 1000.0f;
134 private int SecondsToMilliSeconds(float sec)
136 return (int)(sec * 1000);
143 SetDuration(MilliSecondsToSeconds(value));
147 return SecondsToMilliSeconds(GetDuration());
151 public AlphaFunction DefaultAlphaFunction
155 SetDefaultAlphaFunction(value);
159 AlphaFunction ret = GetDefaultAlphaFunction();
164 public Animation.State Status
180 int ret = GetLoopCount();
193 bool ret = IsLooping();
198 public Animation.EndActions EndAction
206 return GetEndAction();
210 public void Stop(Animation.EndActions action)
212 SetEndAction(action);
213 NDalicPINVOKE.Animation_Stop(swigCPtr);
214 if (NDalicPINVOKE.SWIGPendingException.Pending)
215 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
218 public int StartTime { set; get; }
220 public int EndTime { set; get; }
222 public string TargetProperty { set; get; }
224 public object Destination { set; get; }
226 public Dali.AlphaFunction AlphaFunction { set; get; }
229 public void AnimateBy(View target)
231 string _str1 = TargetProperty.Substring(0, 1);
232 string _str2 = TargetProperty.Substring(1);
233 string _str = _str1.ToLower() + _str2;
235 dynamic obj = (object)Destination;
237 if (this.AlphaFunction != null)
239 if (this.StartTime == 0 && this.EndTime == 0)
241 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction);
245 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
246 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time);
251 if (this.StartTime == 0 && this.EndTime == 0)
253 AnimateBy(new Property(target, _str), new Property.Value(obj));
257 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
258 AnimateBy(new Property(target, _str), new Property.Value(obj), time);
263 public void AnimateBy(View target, string propertyIndex)
265 string _str1 = propertyIndex.Substring(0, 1);
266 string _str2 = propertyIndex.Substring(1);
267 string _str = _str1.ToLower() + _str2;
269 dynamic obj = (object)Destination;
271 if (this.AlphaFunction != null)
273 if (this.StartTime == 0 && this.EndTime == 0)
275 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction);
279 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
280 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time);
285 if (this.StartTime == 0 && this.EndTime == 0)
287 AnimateBy(new Property(target, _str), new Property.Value(obj));
291 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
292 AnimateBy(new Property(target, _str), new Property.Value(obj), time);
297 public void AnimateBy(View target, string propertyIndex, object relativeValue)
299 string _str1 = propertyIndex.Substring(0, 1);
300 string _str2 = propertyIndex.Substring(1);
301 string _str = _str1.ToLower() + _str2;
303 dynamic obj = (object)relativeValue;
305 if (this.AlphaFunction != null)
307 if (this.StartTime == 0 && this.EndTime == 0)
309 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction);
313 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
314 AnimateBy(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time);
319 if (this.StartTime == 0 && this.EndTime == 0)
321 AnimateBy(new Property(target, _str), new Property.Value(obj));
325 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
326 AnimateBy(new Property(target, _str), new Property.Value(obj), time);
331 public void AnimateTo(View target)
333 string _str1 = TargetProperty.Substring(0, 1);
334 string _str2 = TargetProperty.Substring(1);
335 string _str = _str1.ToLower() + _str2;
337 dynamic obj = (object)Destination;
339 if (this.AlphaFunction != null)
341 if (this.StartTime == 0 && this.EndTime == 0)
343 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction);
347 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
348 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time);
353 if (this.StartTime == 0 && this.EndTime == 0)
355 AnimateTo(new Property(target, _str), new Property.Value(obj));
359 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
360 AnimateTo(new Property(target, _str), new Property.Value(obj), time);
365 public void AnimateTo(View target, string propertyIndex)
367 string _str1 = propertyIndex.Substring(0, 1);
368 string _str2 = propertyIndex.Substring(1);
369 string _str = _str1.ToLower() + _str2;
371 dynamic obj = (object)Destination;
373 if (this.AlphaFunction != null)
375 if (this.StartTime == 0 && this.EndTime == 0)
377 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction);
381 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
382 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time);
387 if (this.StartTime == 0 && this.EndTime == 0)
389 AnimateTo(new Property(target, _str), new Property.Value(obj));
393 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
394 AnimateTo(new Property(target, _str), new Property.Value(obj), time);
399 public void AnimateTo(View target, string propertyIndex, object destinationValue)
401 string _str1 = propertyIndex.Substring(0, 1);
402 string _str2 = propertyIndex.Substring(1);
403 string _str = _str1.ToLower() + _str2;
405 dynamic obj = (object)destinationValue;
407 if (this.AlphaFunction != null)
409 if (this.StartTime == 0 && this.EndTime == 0)
411 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction);
415 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
416 AnimateTo(new Property(target, _str), new Property.Value(obj), this.AlphaFunction, time);
421 if (this.StartTime == 0 && this.EndTime == 0)
423 AnimateTo(new Property(target, _str), new Property.Value(obj));
427 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
428 AnimateTo(new Property(target, _str), new Property.Value(obj), time);
433 public void AnimateBetween(View target, KeyFrames keyFrames)
435 string _str1 = TargetProperty.Substring(0, 1);
436 string _str2 = TargetProperty.Substring(1);
437 string _str = _str1.ToLower() + _str2;
440 if (this.AlphaFunction != null)
442 if (this.StartTime == 0 && this.EndTime == 0)
444 AnimateBetween(new Property(target, _str), keyFrames, this.AlphaFunction);
448 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
449 AnimateBetween(new Property(target, _str), keyFrames, this.AlphaFunction, time);
454 if (this.StartTime == 0 && this.EndTime == 0)
456 AnimateBetween(new Property(target, _str), keyFrames);
460 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
461 AnimateBetween(new Property(target, _str), keyFrames, time);
466 public void AnimateBetween(View target, KeyFrames keyFrames, Animation.Interpolation interpolation)
468 string _str1 = TargetProperty.Substring(0, 1);
469 string _str2 = TargetProperty.Substring(1);
470 string _str = _str1.ToLower() + _str2;
473 if (this.AlphaFunction != null)
475 if (this.StartTime == 0 && this.EndTime == 0)
477 AnimateBetween(new Property(target, _str), keyFrames, this.AlphaFunction, interpolation);
481 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
482 AnimateBetween(new Property(target, _str), keyFrames, this.AlphaFunction, time, interpolation);
487 if (this.StartTime == 0 && this.EndTime == 0)
489 AnimateBetween(new Property(target, _str), keyFrames, interpolation);
493 Dali.TimePeriod time = new Dali.TimePeriod(MilliSecondsToSeconds(this.StartTime), MilliSecondsToSeconds(this.EndTime - this.StartTime));
494 AnimateBetween(new Property(target, _str), keyFrames, time, interpolation);
501 * @brief Create an initialized Animation.
503 * The animation will not loop.
504 * The default end action is "Bake".
505 * The default Alpha function is linear.
507 * @param [in] durationmSeconds The duration in milli seconds (int).
508 * @return A handle to a newly allocated Dali resource.
509 * @pre DurationmSeconds must be greater than zero.
511 public Animation(int durationmSeconds) : this(NDalicPINVOKE.Animation_New((float)durationmSeconds / 1000.0f), true)
513 if (NDalicPINVOKE.SWIGPendingException.Pending)
514 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
517 public Animation() : this(NDalicPINVOKE.Animation_New(0.0f), true)
519 if (NDalicPINVOKE.SWIGPendingException.Pending)
520 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
524 public Animation(float durationSeconds) : this(NDalicPINVOKE.Animation_New(durationSeconds), true)
526 if (NDalicPINVOKE.SWIGPendingException.Pending)
527 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
531 public Animation Assign(Animation rhs)
533 Animation ret = new Animation(NDalicPINVOKE.Animation_Assign(swigCPtr, Animation.getCPtr(rhs)), false);
534 if (NDalicPINVOKE.SWIGPendingException.Pending)
535 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
539 internal void SetDuration(float seconds)
541 NDalicPINVOKE.Animation_SetDuration(swigCPtr, seconds);
542 if (NDalicPINVOKE.SWIGPendingException.Pending)
543 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
546 internal float GetDuration()
548 float ret = NDalicPINVOKE.Animation_GetDuration(swigCPtr);
549 if (NDalicPINVOKE.SWIGPendingException.Pending)
550 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
554 internal void SetLooping(bool looping)
556 NDalicPINVOKE.Animation_SetLooping(swigCPtr, looping);
557 if (NDalicPINVOKE.SWIGPendingException.Pending)
558 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
561 internal void SetLoopCount(int count)
563 NDalicPINVOKE.Animation_SetLoopCount(swigCPtr, count);
564 if (NDalicPINVOKE.SWIGPendingException.Pending)
565 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
568 internal int GetLoopCount()
570 int ret = NDalicPINVOKE.Animation_GetLoopCount(swigCPtr);
571 if (NDalicPINVOKE.SWIGPendingException.Pending)
572 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
576 public int GetCurrentLoop()
578 int ret = NDalicPINVOKE.Animation_GetCurrentLoop(swigCPtr);
579 if (NDalicPINVOKE.SWIGPendingException.Pending)
580 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
584 internal bool IsLooping()
586 bool ret = NDalicPINVOKE.Animation_IsLooping(swigCPtr);
587 if (NDalicPINVOKE.SWIGPendingException.Pending)
588 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
592 internal void SetEndAction(Animation.EndActions action)
594 NDalicPINVOKE.Animation_SetEndAction(swigCPtr, (int)action);
595 if (NDalicPINVOKE.SWIGPendingException.Pending)
596 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
599 internal Animation.EndActions GetEndAction()
601 Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetEndAction(swigCPtr);
602 if (NDalicPINVOKE.SWIGPendingException.Pending)
603 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
607 public void SetDisconnectAction(Animation.EndActions disconnectAction)
609 NDalicPINVOKE.Animation_SetDisconnectAction(swigCPtr, (int)disconnectAction);
610 if (NDalicPINVOKE.SWIGPendingException.Pending)
611 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
614 public Animation.EndActions GetDisconnectAction()
616 Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetDisconnectAction(swigCPtr);
617 if (NDalicPINVOKE.SWIGPendingException.Pending)
618 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
622 internal void SetDefaultAlphaFunction(AlphaFunction alpha)
624 NDalicPINVOKE.Animation_SetDefaultAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
625 if (NDalicPINVOKE.SWIGPendingException.Pending)
626 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
629 internal AlphaFunction GetDefaultAlphaFunction()
631 AlphaFunction ret = new AlphaFunction(NDalicPINVOKE.Animation_GetDefaultAlphaFunction(swigCPtr), true);
632 if (NDalicPINVOKE.SWIGPendingException.Pending)
633 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
637 public void SetCurrentProgress(float progress)
639 NDalicPINVOKE.Animation_SetCurrentProgress(swigCPtr, progress);
640 if (NDalicPINVOKE.SWIGPendingException.Pending)
641 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
644 public float GetCurrentProgress()
646 float ret = NDalicPINVOKE.Animation_GetCurrentProgress(swigCPtr);
647 if (NDalicPINVOKE.SWIGPendingException.Pending)
648 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
652 public void SetSpeedFactor(float factor)
654 NDalicPINVOKE.Animation_SetSpeedFactor(swigCPtr, factor);
655 if (NDalicPINVOKE.SWIGPendingException.Pending)
656 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
659 public float GetSpeedFactor()
661 float ret = NDalicPINVOKE.Animation_GetSpeedFactor(swigCPtr);
662 if (NDalicPINVOKE.SWIGPendingException.Pending)
663 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
667 public void SetPlayRange(Vector2 range)
669 NDalicPINVOKE.Animation_SetPlayRange(swigCPtr, Vector2.getCPtr(range));
670 if (NDalicPINVOKE.SWIGPendingException.Pending)
671 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
674 public Vector2 GetPlayRange()
676 Vector2 ret = new Vector2(NDalicPINVOKE.Animation_GetPlayRange(swigCPtr), true);
677 if (NDalicPINVOKE.SWIGPendingException.Pending)
678 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
684 NDalicPINVOKE.Animation_Play(swigCPtr);
685 if (NDalicPINVOKE.SWIGPendingException.Pending)
686 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
689 public void PlayFrom(float progress)
691 NDalicPINVOKE.Animation_PlayFrom(swigCPtr, progress);
692 if (NDalicPINVOKE.SWIGPendingException.Pending)
693 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
698 NDalicPINVOKE.Animation_Pause(swigCPtr);
699 if (NDalicPINVOKE.SWIGPendingException.Pending)
700 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
703 private Animation.State GetState()
705 Animation.State ret = (Animation.State)NDalicPINVOKE.Animation_GetState(swigCPtr);
706 if (NDalicPINVOKE.SWIGPendingException.Pending)
707 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
713 NDalicPINVOKE.Animation_Stop(swigCPtr);
714 if (NDalicPINVOKE.SWIGPendingException.Pending)
715 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
720 NDalicPINVOKE.Animation_Clear(swigCPtr);
721 if (NDalicPINVOKE.SWIGPendingException.Pending)
722 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
725 internal AnimationSignal FinishedSignal()
727 AnimationSignal ret = new AnimationSignal(NDalicPINVOKE.Animation_FinishedSignal(swigCPtr), false);
728 if (NDalicPINVOKE.SWIGPendingException.Pending)
729 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
733 public void AnimateBy(Property target, Property.Value relativeValue)
735 NDalicPINVOKE.Animation_AnimateBy__SWIG_0(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(relativeValue));
736 if (NDalicPINVOKE.SWIGPendingException.Pending)
737 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
740 public void AnimateBy(Property target, Property.Value relativeValue, AlphaFunction alpha)
742 NDalicPINVOKE.Animation_AnimateBy__SWIG_1(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(relativeValue), AlphaFunction.getCPtr(alpha));
743 if (NDalicPINVOKE.SWIGPendingException.Pending)
744 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
747 public void AnimateBy(Property target, Property.Value relativeValue, TimePeriod period)
749 NDalicPINVOKE.Animation_AnimateBy__SWIG_2(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(relativeValue), TimePeriod.getCPtr(period));
750 if (NDalicPINVOKE.SWIGPendingException.Pending)
751 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
754 public void AnimateBy(Property target, Property.Value relativeValue, AlphaFunction alpha, TimePeriod period)
756 NDalicPINVOKE.Animation_AnimateBy__SWIG_3(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(relativeValue), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
757 if (NDalicPINVOKE.SWIGPendingException.Pending)
758 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
761 public void AnimateTo(Property target, Property.Value destinationValue)
763 NDalicPINVOKE.Animation_AnimateTo__SWIG_0(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(destinationValue));
764 if (NDalicPINVOKE.SWIGPendingException.Pending)
765 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
768 public void AnimateTo(Property target, Property.Value destinationValue, AlphaFunction alpha)
770 NDalicPINVOKE.Animation_AnimateTo__SWIG_1(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(destinationValue), AlphaFunction.getCPtr(alpha));
771 if (NDalicPINVOKE.SWIGPendingException.Pending)
772 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
775 public void AnimateTo(Property target, Property.Value destinationValue, TimePeriod period)
777 NDalicPINVOKE.Animation_AnimateTo__SWIG_2(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(destinationValue), TimePeriod.getCPtr(period));
778 if (NDalicPINVOKE.SWIGPendingException.Pending)
779 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
782 public void AnimateTo(Property target, Property.Value destinationValue, AlphaFunction alpha, TimePeriod period)
784 NDalicPINVOKE.Animation_AnimateTo__SWIG_3(swigCPtr, Property.getCPtr(target), Property.Value.getCPtr(destinationValue), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
785 if (NDalicPINVOKE.SWIGPendingException.Pending)
786 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
789 public void AnimateBetween(Property target, KeyFrames keyFrames)
791 NDalicPINVOKE.Animation_AnimateBetween__SWIG_0(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames));
792 if (NDalicPINVOKE.SWIGPendingException.Pending)
793 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
796 public void AnimateBetween(Property target, KeyFrames keyFrames, Animation.Interpolation interpolation)
798 NDalicPINVOKE.Animation_AnimateBetween__SWIG_1(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), (int)interpolation);
799 if (NDalicPINVOKE.SWIGPendingException.Pending)
800 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
803 public void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha)
805 NDalicPINVOKE.Animation_AnimateBetween__SWIG_2(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha));
806 if (NDalicPINVOKE.SWIGPendingException.Pending)
807 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
810 public void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, Animation.Interpolation interpolation)
812 NDalicPINVOKE.Animation_AnimateBetween__SWIG_3(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), (int)interpolation);
813 if (NDalicPINVOKE.SWIGPendingException.Pending)
814 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
817 public void AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period)
819 NDalicPINVOKE.Animation_AnimateBetween__SWIG_4(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), TimePeriod.getCPtr(period));
820 if (NDalicPINVOKE.SWIGPendingException.Pending)
821 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
824 public void AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period, Animation.Interpolation interpolation)
826 NDalicPINVOKE.Animation_AnimateBetween__SWIG_5(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), TimePeriod.getCPtr(period), (int)interpolation);
827 if (NDalicPINVOKE.SWIGPendingException.Pending)
828 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
831 public void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period)
833 NDalicPINVOKE.Animation_AnimateBetween__SWIG_6(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
834 if (NDalicPINVOKE.SWIGPendingException.Pending)
835 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
838 public void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period, Animation.Interpolation interpolation)
840 NDalicPINVOKE.Animation_AnimateBetween__SWIG_7(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period), (int)interpolation);
841 if (NDalicPINVOKE.SWIGPendingException.Pending)
842 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
845 public void Animate(View view, Path path, Vector3 forward)
847 NDalicPINVOKE.Animation_Animate__SWIG_0(swigCPtr, View.getCPtr(view), Path.getCPtr(path), Vector3.getCPtr(forward));
848 if (NDalicPINVOKE.SWIGPendingException.Pending)
849 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
852 public void Animate(View view, Path path, Vector3 forward, AlphaFunction alpha)
854 NDalicPINVOKE.Animation_Animate__SWIG_1(swigCPtr, View.getCPtr(view), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha));
855 if (NDalicPINVOKE.SWIGPendingException.Pending)
856 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
859 public void Animate(View view, Path path, Vector3 forward, TimePeriod period)
861 NDalicPINVOKE.Animation_Animate__SWIG_2(swigCPtr, View.getCPtr(view), Path.getCPtr(path), Vector3.getCPtr(forward), TimePeriod.getCPtr(period));
862 if (NDalicPINVOKE.SWIGPendingException.Pending)
863 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
866 public void Animate(View view, Path path, Vector3 forward, AlphaFunction alpha, TimePeriod period)
868 NDalicPINVOKE.Animation_Animate__SWIG_3(swigCPtr, View.getCPtr(view), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
869 if (NDalicPINVOKE.SWIGPendingException.Pending)
870 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
873 public enum EndActions
880 public enum Interpolation