Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DoNothingAction

This defines an action responsible that does nothing once triggered.

see

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

Hierarchy

Implements

Index

Constructors

constructor

  • Instantiate the action

    Parameters

    • Optional triggerOptions: any

      defines the trigger options

    • Optional condition: Condition

      defines the trigger related conditions

    Returns DoNothingAction

Properties

onBeforeExecuteObservableSearch playground for onBeforeExecuteObservable

onBeforeExecuteObservable: Observable<Action>

An event triggered prior to action being executed.

triggerSearch playground for trigger

trigger: number

Trigger for the action

triggerOptionsSearch playground for triggerOptions

triggerOptions: any

the trigger, with or without parameters, for the action

Methods

executeSearch playground for execute

  • execute(): void
  • Execute the action and do nothing.

    Returns void

getTriggerParameterSearch playground for getTriggerParameter

  • getTriggerParameter(): any

serializeSearch playground for serialize

  • serialize(parent: any): any
  • Serializes the actions and its related information.

    Parameters

    • parent: any

      defines the object to serialize in

    Returns any

    the serialized object

setTriggerParameterSearch playground for setTriggerParameter

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

    Parameters

    • value: any

      defines the new trigger parameter

    Returns void

skipToNextActiveActionSearch playground for skipToNextActiveAction

  • skipToNextActiveAction(): void

thenSearch playground for then

Legend

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