unreal.LearningAgentsEntityInfo¶
- class unreal.LearningAgentsEntityInfo(entity_class: Class = Ellipsis, entity_spawn_z_offset: float = 0.0, episode_entity_spawn_count_min: int = 0, episode_entity_spawn_count_max: int = 0)¶
Bases:
StructBaseFLearningAgentsEntityInfo holds spawn information of a single entity type.
C++ Source:
Plugin: LearningAgents
Module: LearningAgentsTraining
File: LearningAgentsEntitiesManagerComponent.h
Editor Properties: (see get_editor_property/set_editor_property)
entity_class(type(Class)): [Read-Write] Specify the entity class to spawn.entity_spawn_z_offset(float): [Read-Write] Specify the Z offset to apply to spawn locations.episode_entity_spawn_count_max(int32): [Read-Write] The max number of entities to spawn at the start of an episode.episode_entity_spawn_count_min(int32): [Read-Write] The min number of entities to spawn at the start of an episode.
- property entity_spawn_z_offset: float¶
[Read-Write] Specify the Z offset to apply to spawn locations.
- Type:
(float)