UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ReflectionCapture.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 "ReflectionCapture.generated.h"
9
11
12UCLASS(abstract, hidecategories=(Collision, Attachment, Actor), MinimalAPI)
14{
16
17private:
19 UPROPERTY(Category = DecalActor, VisibleAnywhere, BlueprintReadOnly, meta = (AllowPrivateAccess = "true"))
21
22#if WITH_EDITORONLY_DATA
23 UPROPERTY()
24 TObjectPtr<UBillboardComponent> SpriteComponent;
25
26 UPROPERTY()
27 TObjectPtr<UBillboardComponent> CaptureOffsetComponent;
28#endif // WITH_EDITORONLY_DATA
29
30public:
31
32 virtual bool IsLevelBoundsRelevant() const override { return false; }
33
35 class UReflectionCaptureComponent* GetCaptureComponent() const { return CaptureComponent; }
36#if WITH_EDITORONLY_DATA
38 UBillboardComponent* GetSpriteComponent() const { return SpriteComponent; }
39 UBillboardComponent* GetCaptureOffsetComponent() const { return CaptureOffsetComponent; }
40#endif
41};
42
43
44
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 ReflectionCapture.h:14
virtual bool IsLevelBoundsRelevant() const override
Definition ReflectionCapture.h:32
class UReflectionCaptureComponent * GetCaptureComponent() const
Definition ReflectionCapture.h:35
Definition ReflectionCaptureComponent.h:30
Definition ObjectPtr.h:488