unreal.MLAdapterActuator_EnhancedInput
¶
- class unreal.MLAdapterActuator_EnhancedInput(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
MLAdapterActuator
Allows an agent to simulate player input via the UEnhancedPlayerInput subsystem.
C++ Source:
Plugin: MLAdapter
Module: MLAdapter
File: MLAdapterActuator_EnhancedInput.h
Editor Properties: (see get_editor_property/set_editor_property)
clear_action_on_use
(bool): [Read-Write]tracked_actions
(Array[InputAction]): [Read-Write] The actions that this actuator is allowed to inject data into. Modifying this list after using the actuator is unsupported because the InputData is injected into the actions based on the ordering in this array. Changing this could cause data to be injected incorrectly.
- property tracked_actions: None¶
[Read-Only] The actions that this actuator is allowed to inject data into. Modifying this list after using the actuator is unsupported because the InputData is injected into the actions based on the ordering in this array. Changing this could cause data to be injected incorrectly.
- Type:
(Array[InputAction])