Navigation
API > API/Plugins > API/Plugins/InstancedActors > API/Plugins/InstancedActors/UInstancedActorsModifierBase
Syntax
bool bRequiresSpawnedEntities
Remarks
If true, this modifier will wait to be called on Managers only after Mass entities have been spawned for all instances.
If false, this modifier may be called on managers prior to entity spawning (i.e: Manager.HasSpawnedEntities() = false) where operations like RuntimeRemoveEntities are cheaper to run pre-entity spawning. However, as latently spawned UInstancedActorsModifierVolumeComponent's may be matched up with Managers that have already spawned entities, modifiers with bRequiresSpawnedEntities = false must also support execution on Managers with HasSpawnedEntities() = true and should check Managers state accordingly in Modify callbacks. Modification is tracked per manager though and is guaranteed to only run once per manager, so modifiers that are run pre-entity spawning will not try and run again post-spawn.