Engine API Reference - v2.9.1
    Preparing search index...

    Class InputFrame<T>Alpha

    Represents an input frame, which contains a map of input deltas.

    Type Parameters

    • T extends Record<string, number[]>

      The shape of the input frame.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    deltas: { [K in string | number | symbol]: InputDelta } = ...

    Methods

    • Alpha

      Returns the current frame state and resets the deltas to zero.

      Returns { [K in string | number | symbol]: number[] }

      • The flushed input frame with current deltas.