Limen Framework 0.1 Help

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

TArray<AActor*>

SpawnedActors

Private

Stores a list of all spawned actors.

FActorSpawnParameters

SpawnParams

Private

Parameters used for actor spawning, such as collision handling and instigator.

Functions

Return Type

Signature

Description

TArray<AActor*>

SpawnItem(const TSubclassOf<AActor>& Class, const int32 Amount, const bool bSnapToFloor)

Spawns a specified number of actors of the given class within the component's bounds. Optionally snaps them to the floor.

bool

IsTagCompatible(const FName& Test) const

Checks if the component is compatible with a given tag.

int32

GetSpawnedItemsCount() const

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.

22 May 2026