Share via


IAvatarAnimation.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 a positive or a negative time span. If the value is negative, animation playback is reversed.
  • loop
    Type: Boolean
    true if 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

IAvatarAnimation Interface
IAvatarAnimation Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Windows Phone