unreal.TriggerEvent
¶
- class unreal.TriggerEvent¶
Bases:
EnumBase
Trigger events are the Action’s interpretation of all Trigger State transitions that occurred for the action in the last tick
C++ Source:
Plugin: EnhancedInput
Module: EnhancedInput
File: InputTriggers.h
- CANCELED: TriggerEvent¶
Triggering has been canceled
- Type:
8
- COMPLETED: TriggerEvent¶
The trigger state has transitioned from Triggered to None this frame, i.e. Triggering has finished. NOTE: Using this event restricts you to one set of triggers for Started/Completed events. You may prefer two actions, each with its own trigger rules. TODO: Completed will not fire if any trigger reports Ongoing on the same frame, but both should fire. e.g. Tick 2 of Hold (= Ongoing) + Pressed (= None) combo will raise Ongoing event only.
- Type:
16
- ONGOING: TriggerEvent¶
Triggering is still being processed
- Type:
4
- STARTED: TriggerEvent¶
Triggered may also occur this frame.
- Type:
2
- Type:
An event has occurred that has begun Trigger evaluation. Note
- TRIGGERED: TriggerEvent¶
Triggering occurred after one or more processing ticks
- Type:
1