X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fdynamics-bodies.h;h=42c81954bc645d610a10b74e3c00da09396ecea4;hp=a8a92004e9ebf1b173cfcadbaef196b984b4d9e0;hb=50047908e4f93aca3d2924dd6f42f5ebdabe9967;hpb=01864cd4216d958c5f0e95643dbbeca7c9937716 diff --git a/docs/content/programming-guide/dynamics-bodies.h b/docs/content/programming-guide/dynamics-bodies.h index a8a9200..42c8195 100644 --- a/docs/content/programming-guide/dynamics-bodies.h +++ b/docs/content/programming-guide/dynamics-bodies.h @@ -125,7 +125,7 @@ * body.SetKinematic( true ); * // create a second animation to move the actor 100 units to the right * Animation animation( Animation::New( 1 ) ); - * animation.MoveBy( actor, Vector3( 100, 0, 0 ), AlphaFunctions::Linear ); + * animation.AnimateBy( Property( actor, Actor::Property::POSITION ), Vector3( 100, 0, 0 ), AlphaFunction::LINEAR ); * animation.Play(); * \endcode *