2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include <dali/internal/event/animation/animation-impl.h>
22 #include <cstring> // for strcmp
25 #include <dali/public-api/actors/actor.h>
26 #include <dali/public-api/animation/alpha-functions.h>
27 #include <dali/public-api/animation/time-period.h>
28 #include <dali/public-api/common/dali-common.h>
29 #include <dali/public-api/object/type-registry.h>
30 #include <dali/public-api/math/vector2.h>
31 #include <dali/public-api/math/radian.h>
32 #include <dali/internal/event/actors/actor-impl.h>
33 #include <dali/internal/event/animation/animation-playlist.h>
34 #include <dali/internal/event/animation/animator-connector.h>
35 #include <dali/internal/event/common/notification-manager.h>
36 #include <dali/internal/event/common/property-helper.h>
37 #include <dali/internal/event/common/stage-impl.h>
38 #include <dali/internal/event/common/thread-local-storage.h>
39 #include <dali/internal/event/effects/shader-effect-impl.h>
40 #include <dali/internal/update/manager/update-manager.h>
42 using Dali::Internal::SceneGraph::UpdateManager;
43 using Dali::Internal::SceneGraph::AnimatorBase;
44 using Dali::Internal::SceneGraph::Shader;
52 static bool SHOW_VALUE = true;
53 static bool HIDE_VALUE = false;
60 const char* const SIGNAL_FINISHED = "finished";
64 const char* const ACTION_PLAY = "play";
65 const char* const ACTION_STOP = "stop";
66 const char* const ACTION_PAUSE = "pause";
70 return Dali::Animation::New(0.f);
73 TypeRegistration mType( typeid( Dali::Animation ), typeid( Dali::BaseHandle ), Create );
75 SignalConnectorType signalConnector1( mType, SIGNAL_FINISHED, &Animation::DoConnectSignal );
77 TypeAction action1( mType, ACTION_PLAY, &Animation::DoAction );
78 TypeAction action2( mType, ACTION_STOP, &Animation::DoAction );
79 TypeAction action3( mType, ACTION_PAUSE, &Animation::DoAction );
81 const Dali::Animation::EndAction DEFAULT_END_ACTION( Dali::Animation::Bake );
82 const Dali::Animation::EndAction DEFAULT_DISCONNECT_ACTION( Dali::Animation::BakeFinal );
83 const Dali::Animation::Interpolation DEFAULT_INTERPOLATION( Dali::Animation::Linear );
88 AnimationPtr Animation::New(float durationSeconds)
90 Stage* stage = Stage::GetCurrent();
92 AnimationPlaylist& playlist = stage->GetAnimationPlaylist();
94 if( durationSeconds < 0.0f )
96 DALI_LOG_WARNING("duration should be greater than 0.0f.\n");
97 durationSeconds = 0.0f;
100 AnimationPtr animation = new Animation( *stage, playlist, durationSeconds, DEFAULT_END_ACTION, DEFAULT_DISCONNECT_ACTION, Dali::AlphaFunctions::Linear );
102 // Second-phase construction
103 animation->Initialize();
108 Animation::Animation( EventThreadServices& eventThreadServices, AnimationPlaylist& playlist, float durationSeconds, EndAction endAction, EndAction disconnectAction, AlphaFunction defaultAlpha )
109 : mEventThreadServices( eventThreadServices ),
110 mPlaylist( playlist ),
112 mNotificationCount( 0 ),
113 mFinishedCallback( NULL ),
114 mFinishedCallbackObject( NULL ),
115 mDurationSeconds( durationSeconds ),
118 mPlayRange( Vector2(0.0f,1.0f)),
119 mEndAction( endAction ),
120 mDisconnectAction( disconnectAction ),
121 mDefaultAlpha( defaultAlpha )
125 void Animation::Initialize()
127 // Connect to the animation playlist
128 mPlaylist.AnimationCreated( *this );
135 Animation::~Animation()
137 // Guard to allow handle destruction after Core has been destroyed
138 if ( Stage::IsInstalled() )
140 // Disconnect from the animation playlist
141 mPlaylist.AnimationDestroyed( *this );
143 DestroySceneObject();
149 void Animation::CreateSceneObject()
151 DALI_ASSERT_DEBUG( mAnimation == NULL );
153 // Create a new animation, temporarily owned
154 SceneGraph::Animation* animation = SceneGraph::Animation::New( mDurationSeconds, mSpeedFactor, mPlayRange, mIsLooping, mEndAction, mDisconnectAction );
156 // Keep a const pointer to the animation.
157 mAnimation = animation;
159 // Transfer animation ownership to the update manager through a message
160 AddAnimationMessage( mEventThreadServices.GetUpdateManager(), animation );
163 void Animation::DestroySceneObject()
165 if ( mAnimation != NULL )
167 // Remove animation using a message to the update manager
168 RemoveAnimationMessage( mEventThreadServices.GetUpdateManager(), *mAnimation );
173 void Animation::SetDuration(float seconds)
177 DALI_LOG_WARNING("duration should be greater than 0.0f.\n");
181 // Cache for public getters
182 mDurationSeconds = seconds;
184 // mAnimation is being used in a separate thread; queue a message to set the value
185 SetDurationMessage( mEventThreadServices, *mAnimation, seconds );
188 float Animation::GetDuration() const
190 // This is not animatable; the cached value is up-to-date.
191 return mDurationSeconds;
194 void Animation::SetLooping(bool looping)
196 // Cache for public getters
197 mIsLooping = looping;
199 // mAnimation is being used in a separate thread; queue a message to set the value
200 SetLoopingMessage( mEventThreadServices, *mAnimation, looping );
203 bool Animation::IsLooping() const
205 // This is not animatable; the cached value is up-to-date.
209 void Animation::SetEndAction(EndAction action)
211 // Cache for public getters
214 // mAnimation is being used in a separate thread; queue a message to set the value
215 SetEndActionMessage( mEventThreadServices, *mAnimation, action );
218 Dali::Animation::EndAction Animation::GetEndAction() const
220 // This is not animatable; the cached value is up-to-date.
224 void Animation::SetDisconnectAction(EndAction action)
226 // Cache for public getters
227 mDisconnectAction = action;
229 // mAnimation is being used in a separate thread; queue a message to set the value
230 SetDisconnectActionMessage( mEventThreadServices, *mAnimation, action );
233 Dali::Animation::EndAction Animation::GetDisconnectAction() const
235 // This is not animatable; the cached value is up-to-date.
236 return mDisconnectAction;
239 void Animation::Play()
241 // Update the current playlist
242 mPlaylist.OnPlay( *this );
244 // mAnimation is being used in a separate thread; queue a Play message
245 PlayAnimationMessage( mEventThreadServices, *mAnimation );
248 void Animation::PlayFrom( float progress )
250 if( progress >= mPlayRange.x && progress <= mPlayRange.y )
252 // Update the current playlist
253 mPlaylist.OnPlay( *this );
255 // mAnimation is being used in a separate thread; queue a Play message
256 PlayAnimationFromMessage( mEventThreadServices, *mAnimation, progress );
260 void Animation::Pause()
262 // mAnimation is being used in a separate thread; queue a Pause message
263 PauseAnimationMessage( mEventThreadServices, *mAnimation );
266 void Animation::Stop()
268 // mAnimation is being used in a separate thread; queue a Stop message
269 StopAnimationMessage( mEventThreadServices.GetUpdateManager(), *mAnimation );
272 void Animation::Clear()
274 DALI_ASSERT_DEBUG(mAnimation);
276 // Remove all the connectors
279 // Replace the old scene-object with a new one
280 DestroySceneObject();
283 // Reset the notification count, since the new scene-object has never been played
284 mNotificationCount = 0;
286 // Update the current playlist
287 mPlaylist.OnClear( *this );
290 void Animation::AnimateBy(Property& target, Property::Value& relativeValue)
292 AnimateBy(target, relativeValue, AlphaFunctions::Default, mDurationSeconds);
295 void Animation::AnimateBy(Property& target, Property::Value& relativeValue, AlphaFunction alpha)
297 AnimateBy(target, relativeValue, alpha, mDurationSeconds);
300 void Animation::AnimateBy(Property& target, Property::Value& relativeValue, TimePeriod period)
302 AnimateBy(target, relativeValue, AlphaFunctions::Default, period);
305 void Animation::AnimateBy(Property& target, Property::Value& relativeValue, AlphaFunction alpha, TimePeriod period)
307 Object& object = dynamic_cast<Object&>( GetImplementation(target.object) );
309 ExtendDuration( period );
311 switch ( relativeValue.GetType() )
313 case Property::BOOLEAN:
315 AddAnimatorConnector( AnimatorConnector<bool>::New( object,
316 target.propertyIndex,
317 target.componentIndex,
318 new AnimateByBoolean(relativeValue.Get<bool>()),
324 case Property::FLOAT:
326 AddAnimatorConnector( AnimatorConnector<float>::New( object,
327 target.propertyIndex,
328 target.componentIndex,
329 new AnimateByFloat(relativeValue.Get<float>()),
335 case Property::INTEGER:
337 AddAnimatorConnector( AnimatorConnector<int>::New( object,
338 target.propertyIndex,
339 target.componentIndex,
340 new AnimateByInteger(relativeValue.Get<int>()),
346 case Property::VECTOR2:
348 AddAnimatorConnector( AnimatorConnector<Vector2>::New( object,
349 target.propertyIndex,
350 target.componentIndex,
351 new AnimateByVector2(relativeValue.Get<Vector2>()),
357 case Property::VECTOR3:
359 AddAnimatorConnector( AnimatorConnector<Vector3>::New( object,
360 target.propertyIndex,
361 target.componentIndex,
362 new AnimateByVector3(relativeValue.Get<Vector3>()),
368 case Property::VECTOR4:
370 AddAnimatorConnector( AnimatorConnector<Vector4>::New( object,
371 target.propertyIndex,
372 target.componentIndex,
373 new AnimateByVector4(relativeValue.Get<Vector4>()),
379 case Property::ROTATION:
381 AngleAxis angleAxis = relativeValue.Get<AngleAxis>();
383 AddAnimatorConnector( AnimatorConnector<Quaternion>::New( object,
384 target.propertyIndex,
385 target.componentIndex,
386 new RotateByAngleAxis(angleAxis.angle, angleAxis.axis),
393 DALI_ASSERT_ALWAYS( false && "Property type enumeration out of bounds" ); // should never come here
398 void Animation::AnimateTo(Property& target, Property::Value& destinationValue)
400 AnimateTo(target, destinationValue, AlphaFunctions::Default, mDurationSeconds);
403 void Animation::AnimateTo(Property& target, Property::Value& destinationValue, AlphaFunction alpha)
405 AnimateTo(target, destinationValue, alpha, mDurationSeconds);
408 void Animation::AnimateTo(Property& target, Property::Value& destinationValue, TimePeriod period)
410 AnimateTo(target, destinationValue, AlphaFunctions::Default, period);
413 void Animation::AnimateTo(Property& target, Property::Value& destinationValue, AlphaFunction alpha, TimePeriod period)
415 Object& object = dynamic_cast<Object&>( GetImplementation(target.object) );
417 AnimateTo( object, target.propertyIndex, target.componentIndex, destinationValue, alpha, period );
420 void Animation::AnimateTo(Object& targetObject, Property::Index targetPropertyIndex, int componentIndex, Property::Value& destinationValue, AlphaFunction alpha, TimePeriod period)
422 Property::Type type = targetObject.GetPropertyType(targetPropertyIndex);
423 if(componentIndex != Property::INVALID_COMPONENT_INDEX)
425 if( type == Property::VECTOR2
426 || type == Property::VECTOR3
427 || type == Property::VECTOR4 )
429 type = Property::FLOAT;
432 DALI_ASSERT_ALWAYS( type == destinationValue.GetType() && "DestinationValue does not match Target Property type" );
434 ExtendDuration( period );
436 switch (destinationValue.GetType())
438 case Property::BOOLEAN:
440 AddAnimatorConnector( AnimatorConnector<bool>::New( targetObject,
443 new AnimateToBoolean( destinationValue.Get<bool>() ),
449 case Property::FLOAT:
451 AddAnimatorConnector( AnimatorConnector<float>::New( targetObject,
454 new AnimateToFloat( destinationValue.Get<float>() ),
460 case Property::INTEGER:
462 AddAnimatorConnector( AnimatorConnector<int>::New( targetObject,
465 new AnimateToInteger( destinationValue.Get<int>() ),
471 case Property::VECTOR2:
473 AddAnimatorConnector( AnimatorConnector<Vector2>::New( targetObject,
476 new AnimateToVector2( destinationValue.Get<Vector2>() ),
482 case Property::VECTOR3:
484 if ( Dali::Actor::Property::SIZE == targetPropertyIndex )
486 // Test whether this is actually an Actor
487 Actor* maybeActor = dynamic_cast<Actor*>( &targetObject );
490 // Notify the actor that its size is being animated
491 maybeActor->NotifySizeAnimation( *this, destinationValue.Get<Vector3>() );
495 AddAnimatorConnector( AnimatorConnector<Vector3>::New( targetObject,
498 new AnimateToVector3( destinationValue.Get<Vector3>() ),
504 case Property::VECTOR4:
506 AddAnimatorConnector( AnimatorConnector<Vector4>::New( targetObject,
509 new AnimateToVector4( destinationValue.Get<Vector4>() ),
515 case Property::ROTATION:
517 AddAnimatorConnector( AnimatorConnector<Quaternion>::New( targetObject,
520 new RotateToQuaternion( destinationValue.Get<Quaternion>() ),
527 DALI_ASSERT_ALWAYS( false && "Property type enumeration out of bounds" ); // should never come here
532 void Animation::AnimateBetween(Property target, const KeyFrames& keyFrames)
534 AnimateBetween(target, keyFrames, mDefaultAlpha, mDurationSeconds, DEFAULT_INTERPOLATION );
537 void Animation::AnimateBetween(Property target, const KeyFrames& keyFrames, Interpolation interpolation )
539 AnimateBetween(target, keyFrames, mDefaultAlpha, mDurationSeconds, interpolation );
542 void Animation::AnimateBetween(Property target, const KeyFrames& keyFrames, TimePeriod period)
544 AnimateBetween(target, keyFrames, mDefaultAlpha, period, DEFAULT_INTERPOLATION);
547 void Animation::AnimateBetween(Property target, const KeyFrames& keyFrames, TimePeriod period, Interpolation interpolation)
549 AnimateBetween(target, keyFrames, mDefaultAlpha, period, interpolation);
552 void Animation::AnimateBetween(Property target, const KeyFrames& keyFrames, AlphaFunction alpha)
554 AnimateBetween(target, keyFrames, alpha, mDurationSeconds, DEFAULT_INTERPOLATION);
557 void Animation::AnimateBetween(Property target, const KeyFrames& keyFrames, AlphaFunction alpha, Interpolation interpolation)
559 AnimateBetween(target, keyFrames, alpha, mDurationSeconds, interpolation);
562 void Animation::AnimateBetween(Property target, const KeyFrames& keyFrames, AlphaFunction alpha, TimePeriod period)
564 AnimateBetween(target, keyFrames, alpha, period, DEFAULT_INTERPOLATION);
567 void Animation::AnimateBetween(Property target, const KeyFrames& keyFrames, AlphaFunction alpha, TimePeriod period, Interpolation interpolation)
569 Object& object = dynamic_cast<Object&>( GetImplementation(target.object) );
571 ExtendDuration( period );
573 switch(keyFrames.GetType())
575 case Dali::Property::BOOLEAN:
577 const KeyFrameBoolean* kf;
578 GetSpecialization(keyFrames, kf);
579 KeyFrameBooleanPtr kfCopy = KeyFrameBoolean::Clone(*kf);
580 AddAnimatorConnector( AnimatorConnector<bool>::New( object,
581 target.propertyIndex,
582 target.componentIndex,
583 new KeyFrameBooleanFunctor(kfCopy),
589 case Dali::Property::FLOAT:
591 const KeyFrameNumber* kf;
592 GetSpecialization(keyFrames, kf);
593 KeyFrameNumberPtr kfCopy = KeyFrameNumber::Clone(*kf);
594 AddAnimatorConnector( AnimatorConnector<float>::New( object,
595 target.propertyIndex,
596 target.componentIndex,
597 new KeyFrameNumberFunctor(kfCopy,interpolation),
603 case Dali::Property::INTEGER:
605 const KeyFrameInteger* kf;
606 GetSpecialization(keyFrames, kf);
607 KeyFrameIntegerPtr kfCopy = KeyFrameInteger::Clone(*kf);
608 AddAnimatorConnector( AnimatorConnector<int>::New( object,
609 target.propertyIndex,
610 target.componentIndex,
611 new KeyFrameIntegerFunctor(kfCopy,interpolation),
617 case Dali::Property::VECTOR2:
619 const KeyFrameVector2* kf;
620 GetSpecialization(keyFrames, kf);
621 KeyFrameVector2Ptr kfCopy = KeyFrameVector2::Clone(*kf);
622 AddAnimatorConnector( AnimatorConnector<Vector2>::New( object,
623 target.propertyIndex,
624 target.componentIndex,
625 new KeyFrameVector2Functor(kfCopy,interpolation),
631 case Dali::Property::VECTOR3:
633 const KeyFrameVector3* kf;
634 GetSpecialization(keyFrames, kf);
635 KeyFrameVector3Ptr kfCopy = KeyFrameVector3::Clone(*kf);
636 AddAnimatorConnector( AnimatorConnector<Vector3>::New( object,
637 target.propertyIndex,
638 target.componentIndex,
639 new KeyFrameVector3Functor(kfCopy,interpolation),
645 case Dali::Property::VECTOR4:
647 const KeyFrameVector4* kf;
648 GetSpecialization(keyFrames, kf);
649 KeyFrameVector4Ptr kfCopy = KeyFrameVector4::Clone(*kf);
650 AddAnimatorConnector( AnimatorConnector<Vector4>::New( object,
651 target.propertyIndex,
652 target.componentIndex,
653 new KeyFrameVector4Functor(kfCopy,interpolation),
659 case Dali::Property::ROTATION:
661 const KeyFrameQuaternion* kf;
662 GetSpecialization(keyFrames, kf);
663 KeyFrameQuaternionPtr kfCopy = KeyFrameQuaternion::Clone(*kf);
664 AddAnimatorConnector( AnimatorConnector<Quaternion>::New( object,
665 target.propertyIndex,
666 target.componentIndex,
667 new KeyFrameQuaternionFunctor(kfCopy),
673 default: // not all property types are animateable
678 bool Animation::HasFinished()
680 bool hasFinished(false);
681 const int playCount(mAnimation->GetPlayCount());
683 // If the play count has been incremented, then another notification is required
684 if (playCount > mNotificationCount)
686 // Note that only one signal is emitted, if the animation has been played repeatedly
687 mNotificationCount = playCount;
695 Dali::Animation::AnimationSignalType& Animation::FinishedSignal()
697 return mFinishedSignal;
700 void Animation::EmitSignalFinish()
702 if ( !mFinishedSignal.Empty() )
704 Dali::Animation handle( this );
705 mFinishedSignal.Emit( handle );
708 // This callback is used internally, to avoid the overhead of using a signal.
709 if ( mFinishedCallback )
711 mFinishedCallback( mFinishedCallbackObject );
715 bool Animation::DoConnectSignal( BaseObject* object, ConnectionTrackerInterface* tracker, const std::string& signalName, FunctorDelegate* functor )
717 bool connected( true );
718 Animation* animation = dynamic_cast<Animation*>(object);
720 if ( 0 == strcmp( signalName.c_str(), SIGNAL_FINISHED ) )
722 animation->FinishedSignal().Connect( tracker, functor );
726 // signalName does not match any signal
733 void Animation::SetFinishedCallback( FinishedCallback callback, Object* object )
735 mFinishedCallback = callback;
736 mFinishedCallbackObject = object;
739 void Animation::AddAnimatorConnector( AnimatorConnectorBase* connector )
741 DALI_ASSERT_DEBUG( NULL != connector );
743 connector->SetParent(*this);
745 mConnectors.PushBack( connector );
748 void Animation::Animate( Actor& actor, const Path& path, const Vector3& forward )
750 Animate( actor, path, forward, mDefaultAlpha, TimePeriod(0.0f,GetDuration()) );
753 void Animation::Animate( Actor& actor, const Path& path, const Vector3& forward, AlphaFunction alpha )
755 Animate( actor, path, forward, alpha, TimePeriod(0.0f,GetDuration()) );
758 void Animation::Animate( Actor& actor, const Path& path, const Vector3& forward, TimePeriod period )
760 Animate( actor, path, forward, mDefaultAlpha, period );
763 void Animation::Animate( Actor& actor, const Path& path, const Vector3& forward, AlphaFunction alpha, TimePeriod period)
765 ExtendDuration( period );
767 PathPtr pathCopy = Path::Clone(path);
770 AddAnimatorConnector( AnimatorConnector<Vector3>::New( actor,
771 Dali::Actor::Property::POSITION,
772 Property::INVALID_COMPONENT_INDEX,
773 new PathPositionFunctor( pathCopy ),
777 //If forward is zero, PathRotationFunctor will always return the unit quaternion
778 if( forward != Vector3::ZERO )
781 AddAnimatorConnector( AnimatorConnector<Quaternion>::New( actor,
782 Dali::Actor::Property::ORIENTATION,
783 Property::INVALID_COMPONENT_INDEX,
784 new PathRotationFunctor( pathCopy, forward ),
790 void Animation::Show(Actor& actor, float delaySeconds)
792 ExtendDuration( TimePeriod(delaySeconds, 0) );
794 AddAnimatorConnector( AnimatorConnector<bool>::New( actor,
795 Dali::Actor::Property::VISIBLE,
796 Property::INVALID_COMPONENT_INDEX,
797 new AnimateToBoolean(SHOW_VALUE),
798 AlphaFunctions::Default,
799 TimePeriod(delaySeconds, 0.0f/*immediate*/) ) );
802 void Animation::Hide(Actor& actor, float delaySeconds)
804 ExtendDuration( TimePeriod(delaySeconds, 0) );
806 AddAnimatorConnector( AnimatorConnector<bool>::New( actor,
807 Dali::Actor::Property::VISIBLE,
808 Property::INVALID_COMPONENT_INDEX,
809 new AnimateToBoolean(HIDE_VALUE),
810 AlphaFunctions::Default,
811 TimePeriod(delaySeconds, 0.0f/*immediate*/) ) );
814 bool Animation::DoAction( BaseObject* object, const std::string& actionName, const std::vector<Property::Value>& attributes )
817 Animation* animation = dynamic_cast<Animation*>( object );
821 if( 0 == strcmp( actionName.c_str(), ACTION_PLAY ) )
823 if( attributes.size() > 0 )
825 animation->SetDuration( attributes[0].Get<float>() );
831 else if( 0 == strcmp( actionName.c_str(), ACTION_STOP ) )
836 else if( 0 == strcmp( actionName.c_str(), ACTION_PAUSE ) )
846 void Animation::SetCurrentProgress(float progress)
848 if( mAnimation && progress >= mPlayRange.x && progress <= mPlayRange.y )
850 // mAnimation is being used in a separate thread; queue a message to set the current progress
851 SetCurrentProgressMessage( mEventThreadServices, *mAnimation, progress );
855 float Animation::GetCurrentProgress()
859 return mAnimation->GetCurrentProgress();
865 void Animation::ExtendDuration( const TimePeriod& timePeriod )
867 float duration = timePeriod.delaySeconds + timePeriod.durationSeconds;
869 if( duration > mDurationSeconds )
871 SetDuration( duration );
875 void Animation::SetSpeedFactor( float factor )
879 mSpeedFactor = factor;
880 SetSpeedFactorMessage( mEventThreadServices, *mAnimation, factor );
884 float Animation::GetSpeedFactor() const
889 void Animation::SetPlayRange( const Vector2& range)
891 //Make sure the range specified is between 0.0 and 1.0
892 if( range.x >= 0.0f && range.x <= 1.0f && range.y >= 0.0f && range.y <= 1.0f )
894 Vector2 orderedRange( range );
895 //If the range is not in order swap values
896 if( range.x > range.y )
898 orderedRange = Vector2(range.y, range.x);
901 // Cache for public getters
902 mPlayRange = orderedRange;
904 // mAnimation is being used in a separate thread; queue a message to set play range
905 SetPlayRangeMessage( mEventThreadServices, *mAnimation, orderedRange );
909 Vector2 Animation::GetPlayRange() const
915 } // namespace Internal