UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SphereReflectionCaptureComponent.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3
4#pragma once
5
6#include "CoreMinimal.h"
9#include "SphereReflectionCaptureComponent.generated.h"
10
11 // -> will be exported to EngineDecalClasses.h
12UCLASS(hidecategories=(Collision, Object, Physics, SceneComponent), MinimalAPI)
14{
16
17
18 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=ReflectionCapture, meta=(UIMin = "8.0", UIMax = "16384.0"))
19 float InfluenceRadius;
20
22 UPROPERTY()
23 float CaptureDistanceScale;
24
25 UPROPERTY()
26 TObjectPtr<class UDrawSphereComponent> PreviewInfluenceRadius;
27
28public:
29 virtual void UpdatePreviewShape() override;
30
31 virtual float GetInfluenceBoundingRadius() const override
32 {
33 return InfluenceRadius;
34 }
35
36 //~ Begin UObject Interface
37#if WITH_EDITOR
38 virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;
39#endif // WITH_EDITOR
40 //~ End UObject Interface
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 ReflectionCaptureComponent.h:30
Definition SphereReflectionCaptureComponent.h:14
virtual float GetInfluenceBoundingRadius() const override
Definition SphereReflectionCaptureComponent.h:31
Definition UnrealType.h:6865
Definition ObjectPtr.h:488