Shared.Sim.Update C# (CSharp) Méthode

Update() public méthode

Updates this Sim, which includes advancing the current animation frame, computing bone positions and updating the avatar's position.
public Update ( GameTime GTime ) : void
GTime Microsoft.Xna.Framework.GameTime A GameTime instance.
Résultat void
        public void Update(GameTime GTime)
        {
            if(m_Avatar.Animation != null)
                m_Avatar.AdvanceFrame(m_Avatar.Animation, 0.03f);

            m_Avatar.ComputeBonePositions(m_Avatar.Skel.RootBone, m_Avatar.WorldMatrix);

            m_Avatar.Update(GTime);
        }