Class CombineAction
Hierarchy
- Action
- CombineAction
Index
Constructors
constructor
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
Optional enableChildrenConditions: boolean
defines if the children actions conditions should be check before execution
Returns CombineAction
Properties
childrenSearch playground for children
The list of aggregated animations to run.
enable Children ConditionsSearch playground for enableChildrenConditions
defines if the children actions conditions should be check before execution
on Before Execute ObservableSearch playground for onBeforeExecuteObservable
An event triggered prior to action being executed.
triggerSearch playground for trigger
Trigger for the action
trigger OptionsSearch playground for triggerOptions
the trigger, with or without parameters, for the action
Methods
executeSearch playground for execute
Execute the action and executes all the aggregated actions.
Parameters
evt: ActionEvent
Returns void
get Trigger ParameterSearch playground for getTriggerParameter
Gets the trigger parameter
Returns any
the trigger parameter
serializeSearch playground for serialize
Serializes the actions and its related information.
Parameters
parent: any
defines the object to serialize in
Returns any
the serialized object
set Trigger ParameterSearch playground for setTriggerParameter
Sets the trigger parameter
Parameters
value: any
defines the new trigger parameter
Returns void
skip To Next Active ActionSearch playground for skipToNextActiveAction
Skips to next active action
Returns void
This defines an action responsible to trigger several actions once triggered.
https://doc.babylonjs.com/how_to/how_to_use_actions