Action

The action to be carried out following a trigger

see

http://doc.babylonjs.com/how_to/how_to_use_actions#available-actions

Hierarchy

Index

Constructors

constructor

  • Creates a new Action

    Parameters

    • triggerOptions: any

      the trigger, with or without parameters, for the action

    • Optional condition: Condition

      an optional determinant of action

    Returns Action

Properties

onBeforeExecuteObservable

onBeforeExecuteObservable: Observable<Action>

An event triggered prior to action being executed.

trigger

trigger: number

Trigger for the action

triggerOptions

triggerOptions: any

Methods

execute

  • Execute placeholder for child classes

    Parameters

    Returns void

getTriggerParameter

  • getTriggerParameter(): any
  • Gets the trigger parameters

    Returns any

    the trigger parameters

serialize

  • serialize(parent: any): any
  • Serialize placeholder for child classes

    Parameters

    • parent: any

      of child

    Returns any

    the serialized object

skipToNextActiveAction

  • skipToNextActiveAction(): void
  • Skips to next active action

    Returns void

then

Generated using TypeDoc