projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Change ItemFactory destructor to be not pure virtual" into tizen
[platform/core/uifw/dali-toolkit.git]
/
docs
/
content
/
programming-guide
/
dynamics-bodies.h
diff --git
a/docs/content/programming-guide/dynamics-bodies.h
b/docs/content/programming-guide/dynamics-bodies.h
index
a8a9200
..
42c8195
100644
(file)
--- 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 ) );
* 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
* <hr>
* animation.Play();
* \endcode
* <hr>