Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Struct ufbx.ufbx_keyframe

    Single real value at a specified time, interpolation between two keyframes is determined by the interpolation field of the previous key. If interpolation == UFBX_INTERPOLATION_CUBIC the span is evaluated as a cubic bezier curve through the following points: (prev-time, prev-value) (prev-time + prev-right.dx, prev-value + prev-right.dy) (next-time - next-left.dx, next-value - next-left.dy) (next-time, next-value) HINT: You can use ufbx_evaluate_curve(ufbx_anim_curve *curve, double time) rather than trying to manually handle all the interpolation modes.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: ufbxWrapper
    Assembly: ufbxWrapper.dll
    Syntax
    public struct ufbx.ufbx_keyframe

    Fields

    interpolation

    Declaration
    public ufbx.ufbx_interpolation interpolation
    Field Value
    Type Description
    ufbx.ufbx_interpolation

    left

    Declaration
    public ufbx.ufbx_tangent left
    Field Value
    Type Description
    ufbx.ufbx_tangent

    right

    Declaration
    public ufbx.ufbx_tangent right
    Field Value
    Type Description
    ufbx.ufbx_tangent

    time

    Declaration
    public double time
    Field Value
    Type Description
    double

    value

    Declaration
    public float value
    Field Value
    Type Description
    float
    In this article
    Back to top Generated by DocFX