UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LevelInstanceEditorPivotInterface.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "UObject/Interface.h"
8#include "LevelInstanceEditorPivotInterface.generated.h"
9
10UINTERFACE(MinimalAPI)
15
20{
22#if WITH_EDITOR
23public:
24 struct FInitState
25 {
26 FLevelInstanceID LevelInstanceID;
27 FTransform ActorTransform;
28 FVector LevelOffset;
29 };
30
31 void SetInitState(const FInitState& InInitState) { InitState = InInitState; }
32 const FLevelInstanceID& GetLevelInstanceID() const { return InitState.LevelInstanceID; }
33
34 ENGINE_API virtual void UpdateOffset();
35protected:
36 FInitState InitState;
37#endif
38};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UINTERFACE(...)
Definition ObjectMacros.h:780
#define GENERATED_IINTERFACE_BODY(...)
Definition ObjectMacros.h:770
#define GENERATED_UINTERFACE_BODY(...)
Definition ObjectMacros.h:769
Definition LevelInstanceEditorPivotInterface.h:20
Definition Interface.h:19
Definition LevelInstanceEditorPivotInterface.h:12
Definition LevelInstanceTypes.h:14