unreal.MLAdapterSensor_Input
¶
- class unreal.MLAdapterSensor_Input(outer=None, name='None')¶
Bases:
unreal.MLAdapterSensor
Note that this sensor doesn’t buffer input state between GetObservations call todo: a child class could easily do that by overriding OnInputKey/OnInputAxis and GetObservations
C++ Source:
Plugin: MLAdapter
Module: MLAdapter
File: MLAdapterSensor_Input.h
Editor Properties: (see get_editor_property/set_editor_property)
game_viewport
(GameViewportClient): [Read-Write] Game Viewportis_polling
(bool): [Read-Write] Is Pollingrecord_key_release
(bool): [Read-Write] Record Key Releaserequires_pawn
(bool): [Read-Write] Requires Pawntick_policy
(MLAdapterTickPolicy): [Read-Write] Tick Policy