Search Results for

    Show / Hide Table of Contents

    Struct StepCurveKeyframe

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

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

    Constructors

    StepCurveKeyframe()

    Declaration
    public StepCurveKeyframe()

    StepCurveKeyframe(float time, const T& value)

    Declaration
    public StepCurveKeyframe(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 StepCurveKeyframe& a, const StepCurveKeyframe& b, float alpha, float length, T& result)

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

    StepCurveKeyframe b

    float alpha

    float length

    T result

    Returns
    void

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

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

    StepCurveKeyframe b

    float alpha

    float length

    T result

    Returns
    void

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

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

    StepCurveKeyframe b

    float alpha

    float length

    StepCurveKeyframe result

    Returns
    void

    operator==(const StepCurveKeyframe& other)

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

    Returns
    bool

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • StepCurveKeyframe()
      • StepCurveKeyframe(float time, const T& value)
    • Fields
      • Time
      • Value
    • Methods
      • Interpolate(const StepCurveKeyframe& a, const StepCurveKeyframe& b, float alpha, float length, T& result)
      • InterpolateFirstDerivative(const StepCurveKeyframe& a, const StepCurveKeyframe& b, float alpha, float length, T& result)
      • InterpolateKey(const StepCurveKeyframe& a, const StepCurveKeyframe& b, float alpha, float length, StepCurveKeyframe& result)
      • operator==(const StepCurveKeyframe& other)
    Back to top Copyright © 2012-2024 Wojciech Figat