unreal.LearningAgentsObservationVisualLoggerSettings

class unreal.LearningAgentsObservationVisualLoggerSettings(enabled: bool = False, listener: LearningAgentsManagerListener = Ellipsis, agent_id: int = 0, debug_location: Vector = Ellipsis, location: Vector = Ellipsis, color: LinearColor = Ellipsis, arrow_length: float = 0.0)

Bases: StructBase

Settings for visual logger output

C++ Source:

  • Plugin: LearningAgents

  • Module: LearningAgents

  • File: LearningAgentsObservations.h

Editor Properties: (see get_editor_property/set_editor_property)

  • agent_id (int32): [Read-Write] The agent id associated with this observation.

  • arrow_length (float): [Read-Write] The length of debug arrows to display for direction/velocity observations.

  • color (LinearColor): [Read-Write] The color for the visual logger display.

  • debug_location (Vector): [Read-Write] An additional location for visualizing a specific observation element (e.g., rotation arrow origin, velocity arrow start).

  • enabled (bool): [Read-Write] Whether visual logging is enabled.

  • listener (LearningAgentsManagerListener): [Read-Write] The listener object which is making this observation. This must be set to use logging.

  • location (Vector): [Read-Write] A location for the visual logger text information in the world.

property agent_id: int

[Read-Write] The agent id associated with this observation.

Type:

(int32)

property arrow_length: float

[Read-Write] The length of debug arrows to display for direction/velocity observations.

Type:

(float)

property color: LinearColor

[Read-Write] The color for the visual logger display.

Type:

(LinearColor)

property debug_location: Vector

[Read-Write] An additional location for visualizing a specific observation element (e.g., rotation arrow origin, velocity arrow start).

Type:

(Vector)

property enabled: bool

[Read-Write] Whether visual logging is enabled.

Type:

(bool)

property listener: LearningAgentsManagerListener

[Read-Write] The listener object which is making this observation. This must be set to use logging.

Type:

(LearningAgentsManagerListener)

property location: Vector

[Read-Write] A location for the visual logger text information in the world.

Type:

(Vector)