unreal.MLAdapterSensor_AIPerception

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

Bases: MLAdapterSensor

When applied to a player controller will create an AIPerception component for that player and plug it into the AIPerceptionSystem. The sensor will report information gathered by the perception system on the behalf of this agent. See: UAIPerceptionComponent::ProcessStimuli

Note that the world needs to be configured to allow AI Systems to be created See: Server.Configure mz todo: replace with the proper reference

C++ Source:

  • Plugin: MLAdapter

  • Module: MLAdapter

  • File: MLAdapterSensor_AIPerception.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.