AvatarAnimation.Update Method
Updates the current time position of the avatar animation.
Syntax
'Declaration
Public Sub Update ( _
elapsedAnimationTime As TimeSpan, _
loop As Boolean _
)
public void Update (
TimeSpan elapsedAnimationTime,
bool loop
)
public:
void Update(
TimeSpan elapsedAnimationTime,
bool loop
)
Parameters
- elapsedAnimationTime
Type: TimeSpan
Elapsed time since the last animation frame. This value can be either a positive or negative time span. If the value is negative, animation playback is reversed. - loop
Type: Boolean
true if the animation playback is to be looped; otherwise, false.
Requirements
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
See Also
Reference
AvatarAnimation Class
AvatarAnimation Members
Microsoft.Xna.Framework.GamerServices Namespace
Platforms
Windows Phone