10#include "DirectionalLightComponent.generated.h"
27 UPROPERTY(EditAnywhere, BlueprintReadOnly, interp, Category =
Light, AdvancedDisplay, meta = (UIMin = "0", UIMax = "1"))
28 float ShadowCascadeBiasDistribution;
32 uint32 bEnableLightShaftOcclusion:1;
37 UPROPERTY(EditAnywhere, BlueprintReadOnly, interp, Category=
LightShafts, meta=(UIMin = "0", UIMax = "1"))
38 float OcclusionMaskDarkness;
41 UPROPERTY(EditAnywhere, BlueprintReadOnly, interp, Category=
LightShafts, meta=(UIMin = "0", UIMax = "500000"))
42 float OcclusionDepthRange;
49 FVector LightShaftOverrideDirection;
73 int32 DynamicShadowCascades;
79 UPROPERTY(EditAnywhere, BlueprintReadOnly, interp, Category=
CascadedShadowMaps, meta=(UIMin = "1", UIMax = "4", DisplayName = "Distribution Exponent"))
80 float CascadeDistributionExponent;
91 UPROPERTY(EditAnywhere, BlueprintReadOnly, interp, Category=
CascadedShadowMaps, meta=(UIMin = "0", UIMax = "0.3", DisplayName = "Transition Fraction"))
92 float CascadeTransitionFraction;
99 float ShadowDistanceFadeoutFraction;
108 uint32 bUseInsetShadowsForMovableObjects : 1;
112 int32 FarShadowCascadeCount;
118 float FarShadowDistance;
124 float DistanceFieldShadowDistance;
130 UPROPERTY(EditAnywhere, AdvancedDisplay, BlueprintReadOnly, Category =
Light, meta = (UIMin = "0", ClampMin = "0"))
131 int32 ForwardShadingPriority;
137 UPROPERTY(EditAnywhere, BlueprintReadOnly, interp, Category=
Light, meta=(UIMin = "0", UIMax = "5"), DisplayName = "Source
Angle")
138 float LightSourceAngle;
143 UPROPERTY(EditAnywhere, BlueprintReadOnly, interp, Category=
Light, meta=(UIMin = "0", UIMax = "5"), DisplayName = "Source
Soft Angle")
144 float LightSourceSoftAngle;
150 UPROPERTY(EditAnywhere, BlueprintReadOnly, interp, Category =
RayTracing, meta = (UIMin = "0", UIMax = "5"), DisplayName = "
Shadow Source
Angle Factor")
151 float ShadowSourceAngleFactor;
154 UPROPERTY(EditAnywhere, AdvancedDisplay, BlueprintReadOnly, Category=DistanceFieldShadows, meta=(UIMin = "1000", UIMax = "100000"), DisplayName = "
DistanceField Trace
Distance")
170 int32 AtmosphereSunLightIndex;
182 uint32 bPerPixelAtmosphereTransmittance : 1;
188 uint32 bCastShadowsOnClouds : 1;
193 uint32 bCastShadowsOnAtmosphere : 1;
198 uint32 bCastCloudShadows : 1;
202 UPROPERTY(EditAnywhere, BlueprintReadOnly, interp, Category =
AtmosphereAndCloud, AdvancedDisplay, meta = (UIMin = "0", UIMax = "1", ClampMin = "0", SliderExponent = 1.0))
203 float CloudShadowStrength;
207 UPROPERTY(EditAnywhere, BlueprintReadOnly, interp, Category =
AtmosphereAndCloud, AdvancedDisplay, meta = (UIMin = "0", UIMax = "1", ClampMin = "0", SliderExponent = 1.0))
208 float CloudShadowOnAtmosphereStrength;
212 UPROPERTY(EditAnywhere, BlueprintReadOnly, interp, Category =
AtmosphereAndCloud, AdvancedDisplay, meta = (UIMin = "0", UIMax = "1", ClampMin = "0", SliderExponent = 1.0))
213 float CloudShadowOnSurfaceStrength;
218 float CloudShadowDepthBias;
223 float CloudShadowExtent;
227 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category =
AtmosphereAndCloud, AdvancedDisplay, meta = (UIMin = "0.25", UIMax = "8", ClampMin = "0.25", SliderExponent = 1.0))
228 float CloudShadowMapResolutionScale;
233 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category =
AtmosphereAndCloud, AdvancedDisplay, meta = (UIMin = "0.25", UIMax = "8", ClampMin = "0.25", SliderExponent = 1.0))
234 float CloudShadowRaySampleCountScale;
243 UPROPERTY(EditAnywhere, Category=
Light, meta=(ShowOnlyInnerProperties))
250 uint32 bCastModulatedShadows : 1;
255 UPROPERTY(BlueprintReadOnly, interp, Category =
Light, meta = (HideAlphaChannel), AdvancedDisplay)
256 FColor ModulatedShadowColor;
261 UPROPERTY(BlueprintReadOnly, interp, Category =
Light, meta = (HideAlphaChannel, UIMin = "0", UIMax = "1", ClampMin = "0", ClampMax = "1"), AdvancedDisplay)
326 return LightmassSettings;
332 virtual bool IsUsedAsAtmosphereSunLight()
const override
336 virtual uint8 GetAtmosphereSunLightIndex()
const override
338 return static_cast<uint8>(AtmosphereSunLightIndex);
340 virtual FLinearColor GetAtmosphereSunDiskColorScale()
const override
342 return AtmosphereSunDiskColorScale;
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
#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
ELightComponentType
Definition SceneTypes.h:96
ELightUnits
Definition Scene.h:75
Definition Archive.h:1208
Definition LightSceneProxy.h:43
Definition UnrealType.h:174
Definition DistanceFieldAtlas.h:36
Definition EngineTypes.h:3787
Definition SceneManagement.h:73
U16 Index
Definition radfft.cpp:71
Definition EngineTypes.h:2151
Definition EngineTypes.h:2116
Definition UnrealType.h:6865