Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a storyboard's animation.

Hierarchy

Index

Constructors

Properties

frameCount: number

The amount of frames that the animation has.

frameDelay: number

The delay between frames, in milliseconds.

initialPosition: Vector2

The initial position of the sprite.

The loop type of the animation.

origin: Anchor

The origin of the sprite.

path: string

The file path to the content of the element.

timelineGroup: CommandTimelineGroup = ...

The command timeline group of the sprite.

Accessors

  • get duration(): number
  • get endTime(): number
  • get hasCommands(): boolean
  • get startTime(): number

Methods

  • addLoop(startTime: number, repeatCount: number): CommandLoop
  • addTrigger(triggerName: string, startTime: number, endTime: number, groupNumber: number): CommandTrigger
  • toString(): string

Generated using TypeDoc