CombineAction

This defines an action responsible to trigger several actions once triggered.

see

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

Hierarchy

Index

Constructors

constructor

Find examples in Playground
  • Instantiate the action

    Parameters

    • triggerOptions: any

      defines the trigger options

    • children: Action[]

      defines the list of aggregated animations to run

    • Optional condition: Condition

      defines the trigger related conditions

    Returns CombineAction

Properties

children

Find examples in Playground
children: Action[]

The list of aggregated animations to run.

onBeforeExecuteObservable

Find examples in Playground
onBeforeExecuteObservable: Observable<Action>

An event triggered prior to action being executed.

trigger

Find examples in Playground
trigger: number

Trigger for the action

triggerOptions

Find examples in Playground
triggerOptions: any

the trigger, with or without parameters, for the action

Methods

execute

Find examples in Playground
  • Execute the action and executes all the aggregated actions.

    Parameters

    Returns void

getTriggerParameter

Find examples in Playground
  • getTriggerParameter(): any

serialize

Find examples in Playground
  • 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

skipToNextActiveAction

Find examples in Playground
  • skipToNextActiveAction(): void

then

Find examples in Playground

Generated using TypeDoc