Fudge Core
    Preparing search index...

    Handles evaluation and interpolation of animation keyframe data.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    elementSize: number
    elementStride: number

    The stride of the elements in the output array, which is the size of one element multiplied by 3 (inTangent, element, outTangent).

    input: Float32Array
    output: Float32Array
    result: Float32Array

    Methods

    • Interpolates between the input/output buffer segment [_i1 - 1, _i1].

      Parameters

      • _i1: number

        The index of the right-hand keyframe.

      • _t0: number

        The left-hand input value. input[_i1 - 1]

      • _t: number

        The value to interpolate at. Between _t0 and _t1.

      • _t1: number

        The right-hand input value. input[_i1]

      Returns Float32Array