UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PlanarReflection.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
7#pragma once
8
9#include "CoreMinimal.h"
11#include "Engine/SceneCapture.h"
12#include "PlanarReflection.generated.h"
13
15
16UCLASS(hidecategories=(Collision, Material, Attachment, Actor), MinimalAPI)
18{
20
21private:
23 UPROPERTY(Category = SceneCapture, VisibleAnywhere, BlueprintReadOnly, meta = (AllowPrivateAccess = "true"))
24 TObjectPtr<class UPlanarReflectionComponent> PlanarReflectionComponent;
25
26#if WITH_EDITORONLY_DATA
27 UPROPERTY()
28 TObjectPtr<UBillboardComponent> SpriteComponent;
29#endif
30
31public:
32 UE_DEPRECATED(4.22, "Please use ShowPreviewPlane on PlanarReflectionComponent instead")
33 UPROPERTY()
34 bool bShowPreviewPlane_DEPRECATED;
35
37
38 //~ Begin AActor Interface
39#if WITH_EDITOR
40 ENGINE_API virtual void EditorApplyScale(const FVector& DeltaScale, const FVector* PivotLocation, bool bAltDown, bool bShiftDown, bool bCtrlDown) override;
41#endif
42 //~ End AActor Interface.
43
44 UFUNCTION(BlueprintCallable, Category="Rendering")
45 void OnInterpToggle(bool bEnable);
46
48 class UPlanarReflectionComponent* GetPlanarReflectionComponent() const
49 {
50 return PlanarReflectionComponent;
51 }
52
53#if WITH_EDITORONLY_DATA
55 UBillboardComponent* GetSpriteComponent() const { return SpriteComponent; }
56#endif
57};
58
59
60
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
const bool
Definition NetworkReplayStreaming.h:178
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition PlanarReflection.h:18
Definition SceneCapture.h:17
Definition ObjectPtr.h:488