unreal.TriggerEvent
¶
- class unreal.TriggerEvent¶
Bases:
unreal.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¶
Triggering has been canceled
- Type
4
- COMPLETED¶
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
5
- ONGOING¶
Triggering is still being processed
- Type
3
- STARTED¶
Triggered may also occur this frame.
- Type
2
- Type
An event has occurred that has begun Trigger evaluation. Note
- TRIGGERED¶
Triggering occurred after one or more processing ticks
- Type
1