Show / Hide Table of Contents

    Class InterpolationUtilities

    Static class containing interpolation-related utility functions.

    Inheritance
    Object
    InterpolationUtilities
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Physics
    Assembly: cs.temp.dll.dll
    Syntax
    public static class InterpolationUtilities

    Methods

    ExpCoefficient(Single, Single)

    Computes an exponential coefficient following the given formula: 1 - .5^(dTime/hLife)

    Declaration
    public static float ExpCoefficient(float hLife, float dTime)
    Parameters
    Type Name Description
    Single hLife
    Single dTime
    Returns
    Type Description
    Single

    ExpDecay(Color, Color, Single, Single)

    Declaration
    public static Color ExpDecay(Color from, Color to, float hLife, float dTime)
    Parameters
    Type Name Description
    Color from
    Color to
    Single hLife
    Single dTime
    Returns
    Type Description
    Color

    ExpDecay(Quaternion, Quaternion, Single, Single)

    Declaration
    public static Quaternion ExpDecay(Quaternion from, Quaternion to, float hLife, float dTime)
    Parameters
    Type Name Description
    Quaternion from
    Quaternion to
    Single hLife
    Single dTime
    Returns
    Type Description
    Quaternion

    ExpDecay(Single, Single, Single, Single)

    Declaration
    public static float ExpDecay(float from, float to, float hLife, float dTime)
    Parameters
    Type Name Description
    Single from
    Single to
    Single hLife
    Single dTime
    Returns
    Type Description
    Single

    ExpDecay(Vector2, Vector2, Single, Single)

    Declaration
    public static Vector2 ExpDecay(Vector2 from, Vector2 to, float hLife, float dTime)
    Parameters
    Type Name Description
    Vector2 from
    Vector2 to
    Single hLife
    Single dTime
    Returns
    Type Description
    Vector2

    ExpDecay(Vector3, Vector3, Single, Single)

    Declaration
    public static Vector3 ExpDecay(Vector3 from, Vector3 to, float hLife, float dTime)
    Parameters
    Type Name Description
    Vector3 from
    Vector3 to
    Single hLife
    Single dTime
    Returns
    Type Description
    Vector3
    Back to top Generated by DocFX