ULayersBlueprintLibrary::AddActorToLayer

Adds the actor to the specified 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)
static void AddActorToLayer
(
    AActor * InActor,
    const FActorLayer & Layer
)

Remarks

Adds the actor to the specified layer