unreal.InputActionInstance
¶
- class unreal.InputActionInstance(source_action: InputAction = Ellipsis, trigger_event: TriggerEvent = 0, last_triggered_world_time: float = 0.0, triggers: Array[InputTrigger] = [], modifiers: Array[InputModifier] = [], elapsed_processed_time: float = 0.0, elapsed_triggered_time: float = 0.0)¶
Bases:
StructBase
Run time queryable action instance Generated from UInputAction templates above
C++ Source:
Plugin: EnhancedInput
Module: EnhancedInput
File: InputAction.h
Editor Properties: (see get_editor_property/set_editor_property)
elapsed_processed_time
(float): [Read-Write] Elapsed Processed Time: Total trigger processing/evaluation time (How long this action has been in event Started, Ongoing, or Triggeredelapsed_triggered_time
(float): [Read-Write] Elapsed Triggered Time: Triggered time (How long this action has been in event Triggered only)last_triggered_world_time
(float): [Read-Write] Last Triggered World Time: The last time that this evaluated to a Triggered Statemodifiers
(Array[InputModifier]): [Read-Write] Modifierssource_action
(InputAction): [Read-Write] Source Action: The source action that this instance is created fromtrigger_event
(TriggerEvent): [Read-Write] Trigger Event: Trigger statetriggers
(Array[InputTrigger]): [Read-Write] Triggers
- property elapsed_processed_time: float¶
[Read-Only] Elapsed Processed Time: Total trigger processing/evaluation time (How long this action has been in event Started, Ongoing, or Triggered
- Type:
(float)
- property elapsed_triggered_time: float¶
[Read-Only] Elapsed Triggered Time: Triggered time (How long this action has been in event Triggered only)
- Type:
(float)
- property last_triggered_world_time: float¶
[Read-Only] Last Triggered World Time: The last time that this evaluated to a Triggered State
- Type:
(float)
- property modifiers: Array[InputModifier]¶
[Read-Only] Modifiers
- Type:
- property source_action: InputAction¶
[Read-Only] Source Action: The source action that this instance is created from
- Type:
- property trigger_event: TriggerEvent¶
[Read-Only] Trigger Event: Trigger state
- Type:
- property triggers: Array[InputTrigger]¶
[Read-Only] Triggers
- Type: