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

Properties

_actions: Action[] = []
_animationBits: AnimationBits
_brightness: number = 255
_conditions: Condition[] = []
_profile: Profile = ...
_rules: Rule[] = []

Accessors

  • get brightness(): number
  • Returns number

  • set brightness(value): void
  • Parameters

    • value: number

    Returns void

Methods

  • Returns number

  • Parameters

    • dataView: DataView
    • byteOffset: number = 0

    Returns [DataView, number]

  • Returns Uint8Array

  • Returns Uint8Array

  • Parameters

    • bytes: Uint8Array

    Returns number

Generated using TypeDoc