ULayersBlueprintLibrary::GetActors

Get all the actors in this layer

Choose your operating system:

Windows

macOS

Linux

References

Module

ActorLayerUtilities

Header

/Engine/Plugins/Runtime/ActorLayerUtilities/Source/ActorLayerUtilities/Public/ActorLayerUtilities.h

Include

#include "ActorLayerUtilities.h"

Source

/Engine/Plugins/Runtime/ActorLayerUtilities/Source/ActorLayerUtilities/Private/ActorLayerUtilities.cpp

Syntax

UFUNCTION(BlueprintCallable, Category=Layer, Meta=(WorldContext=WorldContextObject))
static TArray< AActor * > GetActors
(
    UObject * WorldContextObject,
    const FActorLayer & ActorLayer
)

Remarks

Get all the actors in this layer