UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LevelInstanceEditorInstanceActor.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"
9#include "LevelInstanceEditorInstanceActor.generated.h"
10
12class ULevel;
13
18UCLASS(transient, notplaceable, MinimalAPI)
20{
22
23#if WITH_EDITOR
24public:
26
28 const FLevelInstanceID& GetLevelInstanceID() const { return LevelInstanceID; }
29
30 virtual bool IsSelectionParentOfAttachedActors() const override { return true; }
31 virtual bool IsSelectionChild() const override { return true; }
32 ENGINE_API virtual AActor* GetSelectionParent() const override;
33
34private:
35 virtual bool ActorTypeIsMainWorldOnly() const override { return true; }
36 friend class ULevelInstanceComponent;
37 ENGINE_API void UpdateWorldTransform(const FTransform& WorldTransform);
38
39 FLevelInstanceID LevelInstanceID;
40#endif
41};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Actor.h:257
Definition LevelInstanceEditorInstanceActor.h:20
Definition LevelInstanceInterface.h:33
Definition LevelInstanceComponent.h:26
Definition Level.h:423
Definition LevelInstanceTypes.h:14