Change-Id: I0eae8f62143138967b91130bb6e4c588229077f6
- if( OptionalString endAction = constant.IsString( IsChild(child, "destroy-action" ) ) )
+ if( OptionalString endAction = constant.IsString( IsChild(child, "disconnect-action" ) ) )
{
if("BAKE" == *endAction)
{
{
if("BAKE" == *endAction)
{
- animation.SetDestroyAction( Animation::Bake );
+ animation.SetDisconnectAction( Animation::Bake );
}
else if("DISCARD" == *endAction)
{
}
else if("DISCARD" == *endAction)
{
- animation.SetDestroyAction( Animation::Discard );
+ animation.SetDisconnectAction( Animation::Discard );
}
else if("BAKE_FINAL" == *endAction)
{
}
else if("BAKE_FINAL" == *endAction)
{
- animation.SetDestroyAction( Animation::BakeFinal );
+ animation.SetDisconnectAction( Animation::BakeFinal );
// so that we can avoid the actors overlapping during orientation change.
animation.Resize( actor, shrink, AlphaFunctions::EaseOut, 0.0f, durationSeconds * 0.5f );
animation.Resize( actor, size, AlphaFunctions::EaseIn, 0.0f, durationSeconds );
// so that we can avoid the actors overlapping during orientation change.
animation.Resize( actor, shrink, AlphaFunctions::EaseOut, 0.0f, durationSeconds * 0.5f );
animation.Resize( actor, size, AlphaFunctions::EaseIn, 0.0f, durationSeconds );
- animation.SetDestroyAction( Animation::Bake );
}
Animation animation = Animation::New( mOrientationAnimationDuration );
}
Animation animation = Animation::New( mOrientationAnimationDuration );
- animation.SetDestroyAction( Animation::Bake );
animation.RotateTo( Self(), Degree( -angle ), Vector3::ZAXIS, mOrientationAnimationAlphaFunc );
animation.Play();
animation.RotateTo( Self(), Degree( -angle ), Vector3::ZAXIS, mOrientationAnimationAlphaFunc );
animation.Play();
- mRotateAnimation.SetDestroyAction( Animation::Bake );
-
Toolkit::View handle( GetOwner() );
mOrientationAnimationStartedSignalV2.Emit( handle, mRotateAnimation, orientation );
Toolkit::View handle( GetOwner() );
mOrientationAnimationStartedSignalV2.Emit( handle, mRotateAnimation, orientation );