Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a trigger command.

Hierarchy

Index

Constructors

  • new CommandTrigger(triggerName: string, startTime: number, endTime: number, groupNumber: number): CommandTrigger

Properties

alpha: CommandTimeline<number> = ...

The command timeline that changes the opacity of an animation or sprite.

blendingParameters: CommandTimeline<BlendingParameters> = ...

The command timeline that determines the blending behavior of an animation or sprite.

The command timeline that changes an animation or sprite's virtual light source color.

The colors of the pixels on the animation or sprite are determined subtractively.

flipHorizontal: CommandTimeline<boolean> = ...

The command timeline that determines whether the animation or sprite should be flipped horizontally.

flipVertical: CommandTimeline<boolean> = ...

The command timeline that determines whether the animation or sprite should be flipped vertically.

groupNumber: number

The group number of the command.

The command timeline that changes an animation or sprite's X and Y coordinates.

rotation: CommandTimeline<number> = ...

The command timeline that rotates an animation or sprite, in radians, clockwise.

scale: CommandTimeline<number> = ...

The command timeline that scales an animation or sprite with a number.

triggerEndTime: number

The end time of the command.

triggerName: string

The name of the trigger.

triggerStartTime: number

The start time of the command.

vectorScale: CommandTimeline<Vector2> = ...

The command timeline that scales an animation or sprite with a vector.

This allows scaling the width and height of an animation or sprite individually at the same time.

x: CommandTimeline<number> = ...

The command timeline that changes an animation or sprite's X-coordinate.

y: CommandTimeline<number> = ...

The command timeline that changes an animation or sprite's Y-coordinate.

Accessors

  • get commandsDuration(): number
  • get commandsEndTime(): number
  • get commandsStartTime(): number
  • get duration(): number
  • get earliestDisplayedTime(): null | number
  • get endTime(): number
  • get hasCommands(): boolean
  • get startTime(): number

Methods

  • toString(): string

Generated using TypeDoc