UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
EngineElementsLibrary.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
7#include "EngineElementsLibrary.generated.h"
8
9class UObject;
11
12class AActor;
14
15class UActorComponent;
17
20
21struct FSMInstanceId;
23
24UCLASS(MinimalAPI)
26{
28
29public:
31
32 static ENGINE_API TTypedElementOwner<FObjectElementData> CreateObjectElement(const UObject* InObject);
33 static ENGINE_API void DestroyObjectElement(const UObject* InObject, TTypedElementOwner<FObjectElementData>& InOutObjectElement);
34#if WITH_EDITOR
38 UFUNCTION(BlueprintCallable, BlueprintPure=false, Category="TypedElementFramework|Object", meta=(DisplayName="Acquire Editor Object Element Handle", ScriptMethod="AcquireEditorElementHandle"))
41#endif
42
43 static ENGINE_API TTypedElementOwner<FActorElementData> CreateActorElement(const AActor* InActor);
45 static ENGINE_API void RegisterActorElement(const AActor* InActor);
46 static ENGINE_API void UnregisterActorElement(const AActor* InActor);
47#if WITH_EDITOR
51 UFUNCTION(BlueprintCallable, Category="TypedElementFramework|Actor", meta=(DisplayName="Acquire Editor Actor Element Handle", ScriptMethod="AcquireEditorElementHandle"))
54#endif
55
58#if WITH_EDITOR
62 UFUNCTION(BlueprintCallable, BlueprintPure=false, Category="TypedElementFramework|Component", meta=(DisplayName="Acquire Editor Component Element Handle", ScriptMethod = "AcquireEditorElementHandle"))
65#endif
66
69#if WITH_EDITOR
73 UFUNCTION(BlueprintCallable, BlueprintPure=false, Category="TypedElementFramework|StaticMeshInstance", meta=(DisplayName="Acquire Editor SMInstance Element Handle", ScriptMethod = "AcquireEditorElementHandle"))
78#endif
79
80private:
82#if WITH_EDITOR
84 static void OnObjectsReplaced(const TMap<UObject*, UObject*>& InReplacementObjects);
89#endif
90};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
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 Array.h:670
Definition UnrealString.h.inl:34
Definition ActorComponent.h:152
Definition BlueprintFunctionLibrary.h:16
Definition EngineElementsLibrary.h:26
Definition InstancedStaticMeshComponent.h:158
Definition Object.h:95
Definition ActorElementData.h:16
Definition ComponentElementData.h:16
Definition ObjectElementData.h:14
Definition SMInstanceElementData.h:15
Definition SMInstanceElementId.h:53
UInstancedStaticMeshComponent * ISMComponent
Definition SMInstanceElementId.h:76
Definition SMInstanceElementId.h:20
Definition TypedElementHandle.h:625
Definition TypedElementHandle.h:18
Definition TypedElementHandle.h:409