Interface SMAFilterOptions

interface SMAFilterOptions {
    expire?: number;
    frameFilter?: ((frame) => boolean);
    minTaps?: number;
    name?: string;
    objectFilter?: ((object, frame?) => boolean);
    taps: number;
    uid?: string;
}

Hierarchy (view full)

Properties

expire?: number
frameFilter?: ((frame) => boolean)

Frame filter to specify what frames are processed by this node

Type declaration

    • (frame): boolean
    • Frame filter to specify what frames are processed by this node

      Parameters

      Returns boolean

minTaps?: number

Minimum number of taps to use

Default

1
name?: string

User friendly name of the node Used for querying a node by its name.

objectFilter?: ((object, frame?) => boolean)

Object filter to specify what data object are processed by this node

Type declaration

    • (object, frame?): boolean
    • Object filter to specify what data object are processed by this node

      Parameters

      Returns boolean

taps: number

Taps to keep

uid?: string

Manually set the unique identifier of the node