unreal.SpawnGymInfo

class unreal.SpawnGymInfo(gym_class: Class = Ellipsis, spawn_count: int = 0)

Bases: StructBase

This struct holds information (num to spawn etc) on one gym template to spawn.

C++ Source:

  • Plugin: LearningAgents

  • Module: LearningAgentsTraining

  • File: LearningAgentsGymsManager.h

Editor Properties: (see get_editor_property/set_editor_property)

  • gym_class (type(Class)): [Read-Write] The gym class used to construct gym instances.

  • spawn_count (int32): [Read-Write] The number of gym instances to spawn.

property gym_class: Class

[Read-Write] The gym class used to construct gym instances.

Type:

(type(Class))

property spawn_count: int

[Read-Write] The number of gym instances to spawn.

Type:

(int32)