Protogame.Animation.Apply C# (CSharp) Méthode

Apply() public méthode

Applies the animation at a specified time to the model.
public Apply ( IModel model, double frame ) : void
model IModel /// The model to apply the animation to. ///
frame double /// The frame to draw at. ///
Résultat void
        public void Apply(IModel model, double frame)
        {
            var calculatedSeconds = (float)(frame / this.TicksPerSecond);

            this.Apply(model, calculatedSeconds, 1);
        }

Same methods

Animation::Apply ( IModel model, float totalSeconds, float multiply ) : void