unreal.InputTriggerHoldAndRelease
¶
- class unreal.InputTriggerHoldAndRelease(outer=None, name='None')¶
Bases:
unreal.InputTriggerTimedBase
- UInputTriggerHoldAndRelease
Trigger fires when input is released after having been actuated for at least HoldTimeThreshold seconds.
C++ Source:
Plugin: EnhancedInput
Module: EnhancedInput
File: InputTriggers.h
Editor Properties: (see get_editor_property/set_editor_property)
actuation_threshold
(float): [Read-Write] Actuation Thresholdaffected_by_time_dilation
(bool): [Read-Write] Should global time dilation be applied to the held duration?held_duration
(float): [Read-Write] Held Durationhold_time_threshold
(float): [Read-Write] How long does the input have to be held to cause trigger?last_value
(InputActionValue): [Read-Write] Value passed to UpdateState on the previous tick. This will be updated automatically after the trigger is updated.