Data Set is the set of a profile, conditions, rules, animations and colors stored in the memory of a Pixels die. This data gets transferred straight to the dice. For that purpose, the data is essentially 'exploded' into flat buffers. i.e. all the key-frames of all the animations are stored in a single key-frame array, and individual tracks reference 'their' key-frames using an offset and count into that array.

Constructors

  • Parameters

    Returns DataSet

Accessors

  • get actions(): Action[]
  • Returns Action[]

  • get brightness(): number
  • Returns number

  • set brightness(value): void
  • Parameters

    • value: number

    Returns void

  • get conditions(): Condition[]
  • Returns Condition[]

  • get profile(): Profile
  • Returns Profile

  • set profile(value): void
  • Parameters

    Returns void

  • get rules(): Rule[]
  • Returns Rule[]

Methods

  • Returns number

  • Parameters

    • dataView: DataView
    • OptionalbyteOffset: number

    Returns [DataView, number]

  • Returns Uint8Array

  • Returns Uint8Array

  • Returns Uint8Array

  • Parameters

    • bytes: Uint8Array

    Returns number