Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ComputeAnimationCurveFloat Class

    Namespace: Stride.Animations
    Assembly: Stride.Engine.dll

    Animation of a float value for the IComputeCurve interface

    System.Object → System.Collections.Generic.Comparer<AnimationKeyFrame<System.Single>> → ComputeAnimationCurve<System.Single> → ComputeAnimationCurveFloat
    Derived from ComputeAnimationCurveFloat:

    [DataContract("ComputeAnimationCurveFloat")]
    [Display("Animation", null, Expand = ExpandRule.Never)]
    public class ComputeAnimationCurveFloat : ComputeAnimationCurve<float>, IComparer<AnimationKeyFrame<float>>, IComparer, IComputeCurve<float>, IComputeCurve
    Name Description
    Methods
    Cubic(ref Single, ref Single, ref Single, ref Single, Single, out Single)
    Linear(ref Single, ref Single, Single, out Single)
    | Improve this Doc View Source

    Methods


    Cubic(ref Single, ref Single, ref Single, ref Single, Single, out Single)

    public override void Cubic(ref float value1, ref float value2, ref float value3, ref float value4, float t, out float result)
    Parameters
    Type Name Description
    System.Single value1
    System.Single value2
    System.Single value3
    System.Single value4
    System.Single t
    System.Single result
    Overrides
    Stride.Animations.ComputeAnimationCurve<System.Single>.Cubic(System.Single, System.Single, System.Single, System.Single, System.Single, System.Single)

    Linear(ref Single, ref Single, Single, out Single)

    public override void Linear(ref float value1, ref float value2, float t, out float result)
    Parameters
    Type Name Description
    System.Single value1
    System.Single value2
    System.Single t
    System.Single result
    Overrides
    Stride.Animations.ComputeAnimationCurve<System.Single>.Linear(System.Single, System.Single, System.Single, System.Single)

    Inherited Members

    ComputeAnimationCurve<Single>.KeyFrames
    ComputeAnimationCurve<Single>.UpdateChanges()
    ComputeAnimationCurve<Single>.Compare(AnimationKeyFrame<Single>, AnimationKeyFrame<Single>)
    ComputeAnimationCurve<Single>.SampleRaw(Single)
    ComputeAnimationCurve<Single>.Evaluate(Single)
    System.Collections.Generic.Comparer<Stride.Animations.AnimationKeyFrame<System.Single>>.Create(System.Comparison<Stride.Animations.AnimationKeyFrame<System.Single>>)
    System.Collections.Generic.Comparer<Stride.Animations.AnimationKeyFrame<System.Single>>.System.Collections.IComparer.Compare(System.Object, System.Object)
    System.Collections.Generic.Comparer<Stride.Animations.AnimationKeyFrame<System.Single>>.Default

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation