Options
All
  • Public
  • Public/Protected
  • All
Menu

This defines an action responsible to run code (external event) once triggered.

see

https://doc.babylonjs.com/how_to/how_to_use_actions

Hierarchy

Index

Constructors

Properties

func: (evt: ActionEvent) => void

Type declaration

onBeforeExecuteObservable: Observable<Action>

An event triggered prior to action being executed.

trigger: number

Trigger for the action

triggerOptions: any

the trigger, with or without parameters, for the action

Methods

  • Execute the action and run the attached code.

    Parameters

    Returns void

  • getTriggerParameter(): any
  • Gets the trigger parameter

    Returns any

    the trigger parameter

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

    Parameters

    • parent: any

      of child

    Returns any

    the serialized object

  • setTriggerParameter(value: any): void
  • Sets the trigger parameter

    Parameters

    • value: any

      defines the new trigger parameter

    Returns void

  • skipToNextActiveAction(): void

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme