@pixi/3d
    Preparing search index...

    Class Vector3TrackAdvanced

    Track for a three-component vector property, such as a node's position or scale

    Hierarchy (View Summary)

    Index
    interpolation: InterpolationMode

    Interpolation algorithm used between keyframes

    label: string

    The property this track drives; TrackOptions#label has the format

    Keyframe times in seconds

    values: Float32Array

    Keyframe values; TrackOptions#values has the layout

    valueSize: number = 0

    Number of numeric components in each sampled value

    • Blends a sample in with the three-wide lerp unrolled

      Parameters

      • values: Float32Array

        The running weighted average, updated in place

      • sample: Float32Array

        The freshly evaluated value to blend in

      • t: number

        Blend factor for sample against values

      Returns void

    • Samples the track at a time, holding the first or last keyframe outside their range

      Parameters

      • time: number

        Time in seconds

      • index: number

        Keyframe index this returned last time, which shortens the search; 0 always works

      • target: Float32Array<ArrayBufferLike> | number[]

        Receives valueSize numbers

      Returns number

      The keyframe index to pass back as index next time