Documentation
    Preparing search index...

    Stores a single keyframe of an LED animation. The keyframe is made of a time and a color index.

    Index

    Constructors

    Properties

    timeAndColor: number = 0

    Accessors

    Methods

    • Compares two RgbKeyframe instances.

      Parameters

      • other: RgbKeyframe

        The RgbKeyframe instance to compare with.

      Returns boolean

      Whether the two RgbKeyframe instances have the same data.

    • Updates the instance timeAndColor member with the given time and color index.

      Parameters

      • time: number

        The time in milliseconds, from to 0 to 1024 excluded.

      • colorIndex: number

        The color index, from to 0 to 128 excluded.

      Returns void