Interface GravityProcessingOptions

interface GravityProcessingOptions {
    expire?: number;
    frameFilter?: ((frame) => boolean);
    method?: GravityProcessingMethod;
    name?: string;
    objectFilter?: ((object, frame?) => boolean);
    uid?: string;
}

Hierarchy

  • FilterProcessingOptions
    • GravityProcessingOptions

Properties

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

Type declaration

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

      Parameters

      • frame: DataFrame

      Returns boolean

name?: string

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

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

Type declaration

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

      Parameters

      • object: DataObject
      • Optional frame: DataFrame

      Returns boolean

uid?: string

Manually set the unique identifier of the node