Search Results for

    Show / Hide Table of Contents

    Interface CurveBase<T>.IKeyframeAccess<U>

    The keyframes data access interface.

    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    protected interface IKeyframeAccess<U>
        where U : new()
    Type Parameters
    U

    The type of the keyframe data.

    Methods

    Bezier(ref U, ref U, ref U, ref U, Single, out U)

    Calculates the Bezier curve value at the specified alpha.

    Declaration
    void Bezier(ref U p0, ref U p1, ref U p2, ref U p3, float alpha, out U result)
    Parameters
    U p0

    The p0.

    U p1

    The p1.

    U p2

    The p2.

    U p3

    The p3.

    System.Single alpha

    The alpha.

    U result

    The result.

    GetTangent(ref U, ref U, Single, out U)

    Gets the Bezier curve tangent.

    Declaration
    void GetTangent(ref U value, ref U tangent, float tangentScale, out U result)
    Parameters
    U value

    The value.

    U tangent

    The tangent.

    System.Single tangentScale

    The tangent scale factor.

    U result

    The result.

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

    Calculates the linear interpolation at the specified alpha.

    Declaration
    void Linear(ref U a, ref U b, float alpha, out U result)
    Parameters
    U a

    The start value (alpha=0).

    U b

    The end value (alpha=1).

    System.Single alpha

    The alpha.

    U result

    The result.

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat