1 // Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
\r
2 // PROPRIETARY/CONFIDENTIAL
\r
3 // This software is the confidential and proprietary
\r
4 // information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall
\r
5 // not disclose such Confidential Information and shall use it only in
\r
6 // accordance with the terms of the license agreement you entered into with
\r
7 // SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the
\r
8 // suitability of the software, either express or implied, including but not
\r
9 // limited to the implied warranties of merchantability, fitness for a
\r
10 // particular purpose, or non-infringement. SAMSUNG shall not be liable for any
\r
11 // damages suffered by licensee as a result of using, modifying or distributing
\r
12 // this software or its derivatives.
\r
14 // Copyright (c) 2017 Samsung Electronics Co., Ltd.
\r
16 // Licensed under the Apache License, Version 2.0 (the "License");
\r
17 // you may not use this file except in compliance with the License.
\r
18 // You may obtain a copy of the License at
\r
20 // http://www.apache.org/licenses/LICENSE-2.0
\r
22 // Unless required by applicable law or agreed to in writing, software
\r
23 // distributed under the License is distributed on an "AS IS" BASIS,
\r
24 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
25 // See the License for the specific language governing permissions and
\r
26 // limitations under the License.
\r
29 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
\r
30 // Some have been manually changed
\r
36 using System.Runtime.InteropServices;
\r
38 public class Animation : BaseHandle
\r
40 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
\r
42 internal Animation(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Animation_SWIGUpcast(cPtr), cMemoryOwn)
\r
44 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
\r
47 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Animation obj)
\r
49 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
\r
54 DisposeQueue.Instance.Add(this);
\r
57 public override void Dispose()
\r
59 if (!Stage.IsInstalled())
\r
61 DisposeQueue.Instance.Add(this);
\r
67 if (swigCPtr.Handle != global::System.IntPtr.Zero)
\r
71 swigCMemOwn = false;
\r
72 NDalicPINVOKE.delete_Animation(swigCPtr);
\r
74 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
\r
76 global::System.GC.SuppressFinalize(this);
\r
83 private AnimationFinishedEventCallbackType _animationFinishedEventCallback;
\r
84 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
\r
85 private delegate void AnimationFinishedEventCallbackType(IntPtr data);
\r
86 private event EventHandler _animationFinishedEventHandler;
\r
89 * @brief Create an initialized Animation.
\r
91 * The animation will not loop.
\r
92 * The default end action is "Bake".
\r
93 * The default Alpha function is linear.
\r
95 * @param [in] durationmSeconds The duration in milli seconds (int).
\r
96 * @return A handle to a newly allocated Dali resource.
\r
97 * @pre DurationmSeconds must be greater than zero.
\r
99 public Animation(int durationMilliSeconds) : this(NDalicPINVOKE.Animation_New((float)durationMilliSeconds / 1000.0f), true)
\r
101 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
105 * @brief Event for Finished signal which can be used to subscribe/unsubscribe the event handler
\r
106 * Finished signal is emitted when an Animation's animations have finished.
\r
108 public event EventHandler Finished
\r
112 if (_animationFinishedEventHandler == null)
\r
114 _animationFinishedEventCallback = OnFinished;
\r
115 FinishedSignal().Connect(_animationFinishedEventCallback);
\r
118 _animationFinishedEventHandler += value;
\r
122 if (_animationFinishedEventHandler != null)
\r
124 FinishedSignal().Disconnect(_animationFinishedEventCallback);
\r
127 _animationFinishedEventHandler -= value;
\r
130 private void OnFinished(IntPtr data)
\r
132 if (_animationFinishedEventHandler != null)
\r
134 //here we send all data to user event handlers
\r
135 _animationFinishedEventHandler(this, null);
\r
140 public static Animation GetAnimationFromPtr(global::System.IntPtr cPtr)
\r
142 Animation ret = new Animation(cPtr, false);
\r
143 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
147 private float MilliSecondsToSeconds(int millisec)
\r
149 return (float)millisec / 1000.0f;
\r
152 private int SecondsToMilliSeconds(float sec)
\r
154 return (int)(sec * 1000);
\r
157 public int Duration
\r
161 SetDuration(MilliSecondsToSeconds(value));
\r
165 return SecondsToMilliSeconds(GetDuration());
\r
169 public AlphaFunction DefaultAlphaFunction
\r
173 SetDefaultAlphaFunction(value);
\r
177 AlphaFunction ret = GetDefaultAlphaFunction();
\r
182 public States State
\r
190 public int LoopCount
\r
194 SetLoopCount(value);
\r
198 int ret = GetLoopCount();
\r
203 public bool Looping
\r
211 bool ret = IsLooping();
\r
216 public EndActions EndAction
\r
220 SetEndAction(value);
\r
224 return GetEndAction();
\r
228 public void Stop(EndActions action = EndActions.Cancel)
\r
230 SetEndAction(action);
\r
231 NDalicPINVOKE.Animation_Stop(swigCPtr);
\r
232 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
235 public int CurrentLoop
\r
239 return GetCurrentLoop();
\r
243 public EndActions DisconnectAction
\r
247 NDalicPINVOKE.Animation_SetDisconnectAction(swigCPtr, (int)value);
\r
248 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
252 Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetDisconnectAction(swigCPtr);
\r
253 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
258 public float CurrentProgress
\r
262 NDalicPINVOKE.Animation_SetCurrentProgress(swigCPtr, value);
\r
263 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
267 float ret = NDalicPINVOKE.Animation_GetCurrentProgress(swigCPtr);
\r
268 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
273 public float SpeedFactor
\r
277 NDalicPINVOKE.Animation_SetSpeedFactor(swigCPtr, value);
\r
278 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
282 float ret = NDalicPINVOKE.Animation_GetSpeedFactor(swigCPtr);
\r
283 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
288 public Vector2 PlayRange
\r
292 NDalicPINVOKE.Animation_SetPlayRange(swigCPtr, Vector2.getCPtr(value));
\r
293 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
297 Vector2 ret = new Vector2(NDalicPINVOKE.Animation_GetPlayRange(swigCPtr), true);
\r
298 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
304 public void AnimateBy(Actor target, string property, object relativeValue, AlphaFunction alphaFunction = null)
\r
306 string _str1 = property.Substring(0, 1);
\r
307 string _str2 = property.Substring(1);
\r
308 string _str = _str1.ToLower() + _str2;
\r
310 Property _prop = new Property(target, _str);
\r
311 if (_prop.propertyIndex == Property.INVALID_INDEX)
\r
313 throw new System.Exception("second argument string property is invalid parameter!");
\r
316 dynamic obj = (object)relativeValue;
\r
318 if (alphaFunction != null)
\r
320 AnimateBy(_prop, new PropertyValue(obj), alphaFunction);
\r
324 AnimateBy(_prop, new PropertyValue(obj));
\r
328 public void AnimateBy(Actor target, string property, object relativeValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
\r
330 string _str1 = property.Substring(0, 1);
\r
331 string _str2 = property.Substring(1);
\r
332 string _str = _str1.ToLower() + _str2;
\r
334 Property _prop = new Property(target, _str);
\r
335 if (_prop.propertyIndex == Property.INVALID_INDEX)
\r
337 throw new System.Exception("second argument string property is invalid parameter!");
\r
340 dynamic obj = (object)relativeValue;
\r
342 if (alphaFunction != null)
\r
344 Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
\r
345 AnimateBy(_prop, new PropertyValue(obj), alphaFunction, time);
\r
349 Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
\r
350 AnimateBy(_prop, new PropertyValue(obj), time);
\r
354 public void AnimateTo(Actor target, string property, object destinationValue, AlphaFunction alphaFunction = null)
\r
356 string _str1 = property.Substring(0, 1);
\r
357 string _str2 = property.Substring(1);
\r
358 string _str = _str1.ToLower() + _str2;
\r
360 Property _prop = new Property(target, _str);
\r
361 if (_prop.propertyIndex == Property.INVALID_INDEX)
\r
363 throw new System.Exception("second argument string property is invalid parameter!");
\r
366 dynamic obj = (object)destinationValue;
\r
368 if (alphaFunction != null)
\r
370 AnimateTo(_prop, new PropertyValue(obj), alphaFunction);
\r
374 AnimateTo(_prop, new PropertyValue(obj));
\r
378 public void AnimateTo(Actor target, string property, object destinationValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
\r
380 string _str1 = property.Substring(0, 1);
\r
381 string _str2 = property.Substring(1);
\r
382 string _str = _str1.ToLower() + _str2;
\r
384 Property _prop = new Property(target, _str);
\r
385 if (_prop.propertyIndex == Property.INVALID_INDEX)
\r
387 throw new System.Exception("second argument string property is invalid parameter!");
\r
390 dynamic obj = (object)destinationValue;
\r
392 if (alphaFunction != null)
\r
394 Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
\r
395 AnimateTo(_prop, new PropertyValue(obj), alphaFunction, time);
\r
399 Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
\r
400 AnimateTo(_prop, new PropertyValue(obj), time);
\r
404 public void AnimateBetween(Actor target, string property, KeyFrames keyFrames, AlphaFunction alphaFunction = null)
\r
406 string _str1 = property.Substring(0, 1);
\r
407 string _str2 = property.Substring(1);
\r
408 string _str = _str1.ToLower() + _str2;
\r
410 Property _prop = new Property(target, _str);
\r
411 if (_prop.propertyIndex == Property.INVALID_INDEX)
\r
413 throw new System.Exception("second argument string property is invalid parameter!");
\r
416 if (alphaFunction != null)
\r
419 AnimateBetween(_prop, keyFrames);
\r
423 AnimateBetween(_prop, keyFrames, alphaFunction);
\r
427 public void AnimateBetween(Actor target, string property, KeyFrames keyFrames, int startTime, int endTime, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
\r
429 string _str1 = property.Substring(0, 1);
\r
430 string _str2 = property.Substring(1);
\r
431 string _str = _str1.ToLower() + _str2;
\r
433 Property _prop = new Property(target, _str);
\r
434 if (_prop.propertyIndex == Property.INVALID_INDEX)
\r
436 throw new System.Exception("second argument string property is invalid parameter!");
\r
439 Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
\r
440 if (alphaFunction != null)
\r
442 AnimateBetween(_prop, keyFrames, alphaFunction, time, interpolation);
\r
446 AnimateBetween(_prop, keyFrames, time, interpolation);
\r
450 public void AnimatePath(Actor actor, Path path, Vector3 forward, AlphaFunction alphaFunction = null)
\r
452 if (alphaFunction == null)
\r
454 Animate(actor, path, forward);
\r
458 Animate(actor, path, forward, alphaFunction);
\r
462 public void AnimatePath(Actor actor, Path path, Vector3 forward, int startTime, int endTime, AlphaFunction alphaFunction = null)
\r
464 TimePeriod time = new TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
\r
465 if (alphaFunction == null)
\r
467 Animate(actor, path, forward, time);
\r
471 Animate(actor, path, forward, alphaFunction, time);
\r
476 public Animation() : this(NDalicPINVOKE.Animation_New(0.0f), true)
\r
478 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
481 internal Animation(float durationSeconds) : this(NDalicPINVOKE.Animation_New(durationSeconds), true)
\r
483 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
486 public static Animation DownCast(BaseHandle handle)
\r
488 Animation ret = new Animation(NDalicPINVOKE.Animation_DownCast(BaseHandle.getCPtr(handle)), true);
\r
489 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
493 internal Animation(Animation handle) : this(NDalicPINVOKE.new_Animation__SWIG_1(Animation.getCPtr(handle)), true)
\r
495 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
498 internal Animation Assign(Animation rhs)
\r
500 Animation ret = new Animation(NDalicPINVOKE.Animation_Assign(swigCPtr, Animation.getCPtr(rhs)), false);
\r
501 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
505 internal void SetDuration(float seconds)
\r
507 NDalicPINVOKE.Animation_SetDuration(swigCPtr, seconds);
\r
508 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
511 internal float GetDuration()
\r
513 float ret = NDalicPINVOKE.Animation_GetDuration(swigCPtr);
\r
514 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
518 internal void SetLooping(bool looping)
\r
520 NDalicPINVOKE.Animation_SetLooping(swigCPtr, looping);
\r
521 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
524 internal void SetLoopCount(int count)
\r
526 NDalicPINVOKE.Animation_SetLoopCount(swigCPtr, count);
\r
527 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
530 internal int GetLoopCount()
\r
532 int ret = NDalicPINVOKE.Animation_GetLoopCount(swigCPtr);
\r
533 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
537 internal int GetCurrentLoop()
\r
539 int ret = NDalicPINVOKE.Animation_GetCurrentLoop(swigCPtr);
\r
540 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
544 internal bool IsLooping()
\r
546 bool ret = NDalicPINVOKE.Animation_IsLooping(swigCPtr);
\r
547 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
551 internal void SetEndAction(Animation.EndActions action)
\r
553 NDalicPINVOKE.Animation_SetEndAction(swigCPtr, (int)action);
\r
554 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
557 internal Animation.EndActions GetEndAction()
\r
559 Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetEndAction(swigCPtr);
\r
560 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
564 internal void SetDisconnectAction(Animation.EndActions disconnectAction)
\r
566 NDalicPINVOKE.Animation_SetDisconnectAction(swigCPtr, (int)disconnectAction);
\r
567 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
570 internal Animation.EndActions GetDisconnectAction()
\r
572 Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetDisconnectAction(swigCPtr);
\r
573 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
577 internal void SetDefaultAlphaFunction(AlphaFunction alpha)
\r
579 NDalicPINVOKE.Animation_SetDefaultAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
\r
580 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
583 internal AlphaFunction GetDefaultAlphaFunction()
\r
585 AlphaFunction ret = new AlphaFunction(NDalicPINVOKE.Animation_GetDefaultAlphaFunction(swigCPtr), true);
\r
586 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
590 internal void SetCurrentProgress(float progress)
\r
592 NDalicPINVOKE.Animation_SetCurrentProgress(swigCPtr, progress);
\r
593 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
596 internal float GetCurrentProgress()
\r
598 float ret = NDalicPINVOKE.Animation_GetCurrentProgress(swigCPtr);
\r
599 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
603 internal void SetSpeedFactor(float factor)
\r
605 NDalicPINVOKE.Animation_SetSpeedFactor(swigCPtr, factor);
\r
606 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
609 internal float GetSpeedFactor()
\r
611 float ret = NDalicPINVOKE.Animation_GetSpeedFactor(swigCPtr);
\r
612 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
616 internal void SetPlayRange(Vector2 range)
\r
618 NDalicPINVOKE.Animation_SetPlayRange(swigCPtr, Vector2.getCPtr(range));
\r
619 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
622 internal Vector2 GetPlayRange()
\r
624 Vector2 ret = new Vector2(NDalicPINVOKE.Animation_GetPlayRange(swigCPtr), true);
\r
625 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
631 NDalicPINVOKE.Animation_Play(swigCPtr);
\r
632 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
635 public void PlayFrom(float progress)
\r
637 NDalicPINVOKE.Animation_PlayFrom(swigCPtr, progress);
\r
638 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
641 public void Pause()
\r
643 NDalicPINVOKE.Animation_Pause(swigCPtr);
\r
644 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
647 internal Animation.States GetState()
\r
649 Animation.States ret = (Animation.States)NDalicPINVOKE.Animation_GetState(swigCPtr);
\r
650 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
656 NDalicPINVOKE.Animation_Stop(swigCPtr);
\r
657 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
660 public void Clear()
\r
662 NDalicPINVOKE.Animation_Clear(swigCPtr);
\r
663 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
666 internal AnimationSignal FinishedSignal()
\r
668 AnimationSignal ret = new AnimationSignal(NDalicPINVOKE.Animation_FinishedSignal(swigCPtr), false);
\r
669 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
673 internal void AnimateBy(Property target, PropertyValue relativeValue)
\r
675 NDalicPINVOKE.Animation_AnimateBy__SWIG_0(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(relativeValue));
\r
676 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
679 internal void AnimateBy(Property target, PropertyValue relativeValue, AlphaFunction alpha)
\r
681 NDalicPINVOKE.Animation_AnimateBy__SWIG_1(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(relativeValue), AlphaFunction.getCPtr(alpha));
\r
682 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
685 internal void AnimateBy(Property target, PropertyValue relativeValue, TimePeriod period)
\r
687 NDalicPINVOKE.Animation_AnimateBy__SWIG_2(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(relativeValue), TimePeriod.getCPtr(period));
\r
688 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
691 internal void AnimateBy(Property target, PropertyValue relativeValue, AlphaFunction alpha, TimePeriod period)
\r
693 NDalicPINVOKE.Animation_AnimateBy__SWIG_3(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(relativeValue), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
\r
694 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
697 internal void AnimateTo(Property target, PropertyValue destinationValue)
\r
699 NDalicPINVOKE.Animation_AnimateTo__SWIG_0(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(destinationValue));
\r
700 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
703 internal void AnimateTo(Property target, PropertyValue destinationValue, AlphaFunction alpha)
\r
705 NDalicPINVOKE.Animation_AnimateTo__SWIG_1(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(destinationValue), AlphaFunction.getCPtr(alpha));
\r
706 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
709 internal void AnimateTo(Property target, PropertyValue destinationValue, TimePeriod period)
\r
711 NDalicPINVOKE.Animation_AnimateTo__SWIG_2(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(destinationValue), TimePeriod.getCPtr(period));
\r
712 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
715 internal void AnimateTo(Property target, PropertyValue destinationValue, AlphaFunction alpha, TimePeriod period)
\r
717 NDalicPINVOKE.Animation_AnimateTo__SWIG_3(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(destinationValue), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
\r
718 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
721 internal void AnimateBetween(Property target, KeyFrames keyFrames)
\r
723 NDalicPINVOKE.Animation_AnimateBetween__SWIG_0(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames));
\r
724 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
727 internal void AnimateBetween(Property target, KeyFrames keyFrames, Animation.Interpolation interpolation)
\r
729 NDalicPINVOKE.Animation_AnimateBetween__SWIG_1(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), (int)interpolation);
\r
730 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
733 internal void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha)
\r
735 NDalicPINVOKE.Animation_AnimateBetween__SWIG_2(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha));
\r
736 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
739 internal void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, Animation.Interpolation interpolation)
\r
741 NDalicPINVOKE.Animation_AnimateBetween__SWIG_3(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), (int)interpolation);
\r
742 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
745 internal void AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period)
\r
747 NDalicPINVOKE.Animation_AnimateBetween__SWIG_4(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), TimePeriod.getCPtr(period));
\r
748 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
751 internal void AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period, Animation.Interpolation interpolation)
\r
753 NDalicPINVOKE.Animation_AnimateBetween__SWIG_5(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), TimePeriod.getCPtr(period), (int)interpolation);
\r
754 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
757 internal void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period)
\r
759 NDalicPINVOKE.Animation_AnimateBetween__SWIG_6(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
\r
760 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
763 internal void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period, Animation.Interpolation interpolation)
\r
765 NDalicPINVOKE.Animation_AnimateBetween__SWIG_7(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period), (int)interpolation);
\r
766 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
769 internal void Animate(Actor actor, Path path, Vector3 forward)
\r
771 NDalicPINVOKE.Animation_Animate__SWIG_0(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward));
\r
772 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
775 internal void Animate(Actor actor, Path path, Vector3 forward, AlphaFunction alpha)
\r
777 NDalicPINVOKE.Animation_Animate__SWIG_1(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha));
\r
778 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
781 internal void Animate(Actor actor, Path path, Vector3 forward, TimePeriod period)
\r
783 NDalicPINVOKE.Animation_Animate__SWIG_2(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), TimePeriod.getCPtr(period));
\r
784 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
787 internal void Animate(Actor actor, Path path, Vector3 forward, AlphaFunction alpha, TimePeriod period)
\r
789 NDalicPINVOKE.Animation_Animate__SWIG_3(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
\r
790 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
793 internal void Show(Actor actor, float delaySeconds)
\r
795 NDalicPINVOKE.Animation_Show(swigCPtr, Actor.getCPtr(actor), delaySeconds);
\r
796 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
799 internal void Hide(Actor actor, float delaySeconds)
\r
801 NDalicPINVOKE.Animation_Hide(swigCPtr, Actor.getCPtr(actor), delaySeconds);
\r
802 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
805 public enum EndActions
\r
812 public enum Interpolation
\r