unreal.MassSpawnedEntityType

class unreal.MassSpawnedEntityType(entity_config=None, proportion=1.0)

Bases: unreal.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] Entity Config: Asset that describes the entity

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

property agent_config

‘agent_config’ was renamed to ‘entity_config’.

Type

deprecated

property entity_config

[Read-Write] Entity Config: Asset that describes the entity

Type

(MassEntityConfigAsset)

property proportion

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

Type

(float)