unreal.MassSpawnedEntityType

class unreal.MassSpawnedEntityType(entity_config: MassEntityConfigAsset = Ellipsis, proportion: float = 0.0)

Bases: StructBase

Describes an entity type to spawn.

C++ Source:

  • Plugin: MassGameplay

  • Module: MassSpawner

  • File: MassSpawnerTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • entity_config (MassEntityConfigAsset): [Read-Write] Asset that describes the entity

  • proportion (float): [Read-Write] Proportion of the count that should be this agent type, (the proportions will be normalized with other sibling agent types)

property entity_config: MassEntityConfigAsset

[Read-Write] Asset that describes the entity

Type:

(MassEntityConfigAsset)

property proportion: float

[Read-Write] Proportion of the count that should be this agent type, (the proportions will be normalized with other sibling agent types)

Type:

(float)