Message send to a Pixel to play an animation from the stored profile.

Implements

  • PixelMessage

Constructors

Properties

animationIndex: number = 0

Index of the animation in the profile's animation list.

loopCount: number = 1

How many times to loop the animation.

remapToFace: number = 0

Face on which to play the animation (the animations are designed assuming that the higher face value is up).

type: number = MessageTypeValues.playAnimation

Type of the message.