UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LightmassPortal.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"
8#include "LightmassPortal.generated.h"
9
11
12UCLASS(hidecategories=(Collision, Attachment, Actor), MinimalAPI)
14{
16
17private:
18 UPROPERTY(Category = Portal, VisibleAnywhere, BlueprintReadOnly, meta = (AllowPrivateAccess = "true"))
20
21#if WITH_EDITORONLY_DATA
22 UPROPERTY()
23 TObjectPtr<UBillboardComponent> SpriteComponent;
24#endif // WITH_EDITORONLY_DATA
25
26public:
27
28 virtual bool IsLevelBoundsRelevant() const override { return false; }
29
30 class ULightmassPortalComponent* GetPortalComponent() const { return PortalComponent; }
31#if WITH_EDITORONLY_DATA
33 UBillboardComponent* GetSpriteComponent() const { return SpriteComponent; }
34#endif
35
36#if WITH_EDITOR
37 virtual void PostEditMove(bool bFinished) override;
38#endif // WITH_EDITOR
39};
40
41
42
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Actor.h:257
Definition LightmassPortal.h:14
virtual bool IsLevelBoundsRelevant() const override
Definition LightmassPortal.h:28
class ULightmassPortalComponent * GetPortalComponent() const
Definition LightmassPortal.h:30
Definition LightmassPortalComponent.h:13
Definition ObjectPtr.h:488