Class CombineAction
Hierarchy (View Summary)
- Action
- CombineAction
Constructors
constructor
-
new CombineAction(
triggerOptions: any,
children: Action[],
condition?: Condition,
enableChildrenConditions?: boolean,
): CombineActionInstantiate the action
Parameters
- triggerOptions: any
defines the trigger options
- children: Action[]
defines the list of aggregated animations to run
Optionalcondition: Conditiondefines the trigger related conditions
- enableChildrenConditions: boolean = true
defines if the children actions conditions should be check before execution
Returns CombineAction
- triggerOptions: any
Properties
children
The list of aggregated animations to run.
enable Children Conditions
defines if the children actions conditions should be check before execution
on Before Execute Observable
An event triggered prior to action being executed.
trigger
Trigger for the action
trigger Options
the trigger, with or without parameters, for the action
Methods
execute
-
Execute the action and executes all the aggregated actions.
Parameters
- evt: ActionEvent
event to execute
Returns void
- evt: ActionEvent
get Trigger Parameter
-
Gets the trigger parameter
Returns any
the trigger parameter
serialize
-
Serializes the actions and its related information.
Parameters
- parent: any
defines the object to serialize in
Returns any
the serialized object
- parent: any
set Trigger Parameter
-
Sets the trigger parameter
Parameters
- value: any
defines the new trigger parameter
Returns void
- value: any
skip To Next Active Action
-
Skips to next active action
Returns void
This defines an action responsible to trigger several actions once triggered.
See
https://doc.babylonjs.com/features/featuresDeepDive/events/actions