Search Results for

    Show / Hide Table of Contents

    Struct LinearCurveKeyframe

    A single keyframe that can be injected into an animation curve (linear).

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

    Constructors

    LinearCurveKeyframe()

    Declaration
    public LinearCurveKeyframe()

    LinearCurveKeyframe(float time, const T& value)

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

    T value

    Fields

    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 LinearCurveKeyframe& a, const LinearCurveKeyframe& b, float alpha, float length, T& result)

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

    LinearCurveKeyframe b

    float alpha

    float length

    T result

    Returns
    void

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

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

    LinearCurveKeyframe b

    float alpha

    float length

    T result

    Returns
    void

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

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

    LinearCurveKeyframe b

    float alpha

    float length

    LinearCurveKeyframe result

    Returns
    void

    operator==(const LinearCurveKeyframe& other)

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

    Returns
    bool

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