UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LightWeightInstanceBlueprintFunctionLibrary.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
7
8#include "LightWeightInstanceBlueprintFunctionLibrary.generated.h"
9
10UCLASS(MinimalAPI)
12{
14
15public:
16
17 // Returns a handle to a new light weight instance that represents an object of type ActorClass
18 UFUNCTION(BlueprintCallable, Category = "Light Weight Instance")
19 static ENGINE_API FActorInstanceHandle CreateNewLightWeightInstance(UClass* ActorClass, FTransform Transform, UDataLayerInstance* Layer, UWorld* World);
20
21 // Returns a handle to the light weight representation and destroys Actor if successful; Returns a handle to Actor otherwise
22 UFUNCTION(BlueprintCallable, Category = "Light Weight Instance")
23 static ENGINE_API FActorInstanceHandle ConvertActorToLightWeightInstance(AActor* Actor);
24};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Actor.h:257
Definition BlueprintFunctionLibrary.h:16
Definition Class.h:3793
Definition LightWeightInstanceBlueprintFunctionLibrary.h:12
Definition World.h:918
Definition ActorInstanceHandle.h:33