Search Results for

    Show / Hide Table of Contents

    Struct BezierCurveKeyframe

    A single keyframe that can be injected into Bezier curve.

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

    Constructors

    BezierCurveKeyframe()

    Declaration
    public BezierCurveKeyframe()

    BezierCurveKeyframe(float time, const T& value)

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

    T value

    BezierCurveKeyframe(float time, const T& value, const T& tangentIn, const T& tangentOut)

    Declaration
    public BezierCurveKeyframe(float time, const T& value, const T& tangentIn, const T& tangentOut)
    Parameters
    float time

    T value

    T tangentIn

    T tangentOut

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

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

    BezierCurveKeyframe b

    float alpha

    float length

    T result

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

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

    BezierCurveKeyframe b

    float alpha

    float length

    T result

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

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

    BezierCurveKeyframe b

    float alpha

    float length

    BezierCurveKeyframe result

    operator==(const BezierCurveKeyframe& other)

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

    Returns
    bool

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