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

Render() public méthode

Modifies the specified model to align to this animation at the specified frame and then renders it.
public Render ( IRenderContext renderContext, IEffect effect, IEffectParameterSet effectParameterSet, Matrix transform, IModel model, TimeSpan secondFraction, float multiply ) : void
renderContext IRenderContext /// The current render context. ///
effect IEffect
effectParameterSet IEffectParameterSet
transform Matrix /// The world transformation to apply. ///
model IModel /// The model to update. ///
secondFraction TimeSpan /// The time elapsed. ///
multiply float /// The multiplication factor to apply to the animation speed. ///
Résultat void
        public void Render(IRenderContext renderContext, IEffect effect, IEffectParameterSet effectParameterSet, Matrix transform, IModel model, TimeSpan secondFraction, float multiply)
        {
            this.Render(renderContext, effect, effectParameterSet, transform, model, (float)(secondFraction.TotalSeconds % (this.DurationInTicks / this.TicksPerSecond)), multiply);
        }

Same methods

Animation::Render ( IRenderContext renderContext, IEffect effect, IEffectParameterSet effectParameterSet, Matrix transform, IModel model, double frame ) : void
Animation::Render ( IRenderContext renderContext, IEffect effect, IEffectParameterSet effectParameterSet, Matrix transform, IModel model, float totalSeconds, float multiply ) : void