ULimenAtomicSpawner
Overview
ULimenAtomicSpawner is a component that extends UBoxComponent, allowing for the spawning of actors within its bounds. It includes methods to spawn multiple items, check tag compatibility, and retrieve the count of spawned items. The component can also optionally snap spawned actors to the floor upon creation.
Properties
Type | Name | Access | Description |
|---|---|---|---|
| SpawnedActors | Private | Stores a list of all spawned actors. |
| SpawnParams | Private | Parameters used for actor spawning, such as collision handling and instigator. |
Functions
Return Type | Signature | Description |
|---|---|---|
|
| Spawns a specified number of actors of the given class within the component's bounds. Optionally snaps them to the floor. |
|
| Checks if the component is compatible with a given tag. |
|
| Returns the number of actors currently spawned by this component. |
Usage & Implementation Notes
The component does not require threading constraints or special replication requirements.
Memory lifetime management is handled automatically by Unreal Engine's garbage collection system.
Initialization dependencies include having a valid world context and access to the global random stream subsystem.