unreal.MLAdapterAgent
¶
- class unreal.MLAdapterAgent(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
Object
An agent capable of controlling a single avatar (e.g. a Pawn or Controller). Contains sensors for perceiving information about the environment and actuators for taking actions in the game.
C++ Source:
Plugin: MLAdapter
Module: MLAdapter
File: MLAdapterAgent.h
Editor Properties: (see get_editor_property/set_editor_property)
action_duration_elapsed
(bool): [Read-Only]action_duration_seconds
(float): [Read-Write] How long should agents wait before they can change their actionactuators
(Array[MLAdapterActuator]): [Read-Write]avatar_class
(type(Class)): [Read-Write]current_action_duration
(float): [Read-Only] How much time has the current action been executingenable_action_duration
(bool): [Read-Write] If true, then agents won’t be able to make a new decision until each action duration has elapsed.sensors
(Array[MLAdapterSensor]): [Read-Write]