CLASSES
TagsA - Z

Action

Action

Description

class Action

Constructor

new Action(triggerOptions, condition)

Actions are a simple way to add interactions in your scenes. An action is launched when its trigger is fired. See more here

Parameters

Name Type Description
triggerOptions any Options of the trigger
optional condition Condition Condition to trigger the action

Members

triggerOptions : any

The trigger options

trigger : number

Number of the trigger

Methods

getTriggerParameter() any

Get the trigger parameter

execute(evt) void

Execute the trigger

Parameters

Name Type Description
evt ActionEvent An event to trigger

skipToNextActiveAction() void

then(action) Action

Parameters

Name Type Description
action Action The action to do

serialize(parent) any

Parameters

Name Type Description
parent any