Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    Interpolator Class

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

    Various helper functions for float, Vector2, Vector3, Vector4 and Quaternion interpolations.

    System.Object → Interpolator
    Derived from Interpolator:

    public static class Interpolator
    Name Description
    Methods
    Cubic(Single, Single, Single, Single, Single)
    Linear(Single, Single, Single)
    | Improve this Doc View Source

    Methods


    Cubic(Single, Single, Single, Single, Single)

    public static float Cubic(float value1, float value2, float value3, float value4, float t)
    Parameters
    Type Name Description
    System.Single value1
    System.Single value2
    System.Single value3
    System.Single value4
    System.Single t
    Returns
    Type Description
    System.Single

    Linear(Single, Single, Single)

    public static float Linear(float value1, float value2, float t)
    Parameters
    Type Name Description
    System.Single value1
    System.Single value2
    System.Single t
    Returns
    Type Description
    System.Single

    • Improve this Doc
    • View Source
    In This Article

    Back to top

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