unreal.MLAdapterSensor

class unreal.MLAdapterSensor(outer: Object | None = None, name: Name | str = 'None')

Bases: MLAdapterAgentElement

Allows an agent to sense information about the game world or itself.

C++ Source:

  • Plugin: MLAdapter

  • Module: MLAdapter

  • File: MLAdapterSensor.h

Editor Properties: (see get_editor_property/set_editor_property)

  • is_polling (bool): [Read-Write] todo: this is not currently referenced anywhere

  • requires_pawn (bool): [Read-Write] todo: this is not currently referenced anywhere

  • tick_policy (MLAdapterTickPolicy): [Read-Write] Determines what frequency this sensor ticks at.