ULayersBlueprintLibrary

Function library containing methods for interacting with editor layers

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ActorLayerUtilities

Header

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

Include

#include "ActorLayerUtilities.h"

Syntax

UCLASS()
class ULayersBlueprintLibrary : public UBlueprintFunctionLibrary

Remarks

Function library containing methods for interacting with editor layers

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category

void

 

AddActorToLayer

(
    AActor* InActor,
    const FActorLayer& Layer
)

Adds the actor to the specified layer

Public function Static UFunction BlueprintCallable, Category, Meta

TArray< AAct...

 

GetActors

(
    UObject* WorldContextObject,
    const FActorLayer& ActorLayer
)

Get all the actors in this layer

Public function Static UFunction BlueprintCallable, Category

void

 

RemoveActorFromLayer

(
    AActor* InActor,
    const FActorLayer& Layer
)

Removes the actor from the specified layer