Search Results for

    Show / Hide Table of Contents

    Struct HermiteCurveKeyframe

    A single keyframe that can be injected into cubic hermite curve.

    Assembly: FlaxEngine.dll
    File: Engine/Animations/Curve.h
    Syntax
    public struct HermiteCurveKeyframe<T>
    Type Parameters
    T

    Constructors

    HermiteCurveKeyframe()

    Declaration
    public HermiteCurveKeyframe()

    HermiteCurveKeyframe(float time, const T& value)

    Declaration
    public HermiteCurveKeyframe(float time, const T& value)
    Parameters
    float time

    T value

    Fields

    TangentIn

    The input tangent (going from the previous key to this one) of the key.

    Declaration
    public T TangentIn
    Field Value
    T

    TangentOut

    The output tangent (going from this key to next one) of the key.

    Declaration
    public T TangentOut
    Field Value
    T

    Time

    The time of the keyframe.

    Declaration
    public float Time
    Field Value
    float

    Value

    The value of the curve at keyframe.

    Declaration
    public T Value
    Field Value
    T

    Methods

    Interpolate(const HermiteCurveKeyframe& a, const HermiteCurveKeyframe& b, float alpha, float length, T& result)

    Declaration
    public static void Interpolate(const HermiteCurveKeyframe& a, const HermiteCurveKeyframe& b, float alpha, float length, T& result)
    Parameters
    HermiteCurveKeyframe a

    HermiteCurveKeyframe b

    float alpha

    float length

    T result

    InterpolateFirstDerivative(const HermiteCurveKeyframe& a, const HermiteCurveKeyframe& b, float alpha, float length, T& result)

    Declaration
    public static void InterpolateFirstDerivative(const HermiteCurveKeyframe& a, const HermiteCurveKeyframe& b, float alpha, float length, T& result)
    Parameters
    HermiteCurveKeyframe a

    HermiteCurveKeyframe b

    float alpha

    float length

    T result

    InterpolateKey(const HermiteCurveKeyframe& a, const HermiteCurveKeyframe& b, float alpha, float length, HermiteCurveKeyframe& result)

    Declaration
    public static void InterpolateKey(const HermiteCurveKeyframe& a, const HermiteCurveKeyframe& b, float alpha, float length, HermiteCurveKeyframe& result)
    Parameters
    HermiteCurveKeyframe a

    HermiteCurveKeyframe b

    float alpha

    float length

    HermiteCurveKeyframe result

    operator==(const HermiteCurveKeyframe& other)

    Declaration
    public bool operator==(const HermiteCurveKeyframe& other) const
    Parameters
    HermiteCurveKeyframe other

    Returns
    bool

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat