8#include "WeatherParameters.generated.h"
15 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ClampMin =
"-40.0", ClampMax =
"40.0", UIMin =
"-40.0", UIMax =
"40.0"))
16 float Temperature = 10.0f;
18 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ClampMin = "0.0", ClampMax = "100.0", UIMin = "0.0", UIMax = "100.0"))
19 float Precipitation = 0.0f;
21 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ClampMin = "1.0", ClampMax = "5.0", UIMin = "1.0", UIMax = "5.0"))
22 float PrecipitationParticleSize = 1.0f;
24 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ClampMin = "0.0", ClampMax = "1.0", UIMin = "0.0", UIMax = "1.0"))
25 float Cloudiness = 0.05f;
27 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ClampMin = "0.0", ClampMax = "100.0", UIMin = "0.0", UIMax = "100.0"))
30 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ClampMin = "0.0", ClampMax = "10.0", UIMin = "0.0", UIMax = "10.0"))
31 float FogFalloff = 0.2f;
33 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ClampMin = "0.0", ClampMax = "25.0", UIMin = "0.0", UIMax = "25.0"))
34 float WindIntensity = 0.0f;
36 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ClampMin = "0.0", ClampMax = "360.0", UIMin = "0.0", UIMax = "360.0"))
37 float WindDirection = 15.0f;
39 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ClampMin = "0.0", ClampMax = "100.0", UIMin = "0.0", UIMax = "100.0"))
40 float SnowAmount = 0.0f;
42 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ClampMin = "0.0", ClampMax = "1.0", UIMin = "0.0", UIMax = "1.0"))
43 float TreeSnowiness = 0.0f;
45 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ClampMin = "1", ClampMax = "12", UIMin = "1", UIMax = "12"))
48 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (ClampMin = "0.0", ClampMax = "24", UIMin = "0.0", UIMax = "24"))
51 bool IsWinterSnowCondition()
53 return SnowAmount != 0.0f;
62 return Temperature <= 0.0f && Precipitation != 0.0f;
67 return FString::Printf(
68 TEXT(
"%f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %d, %d"),
71 PrecipitationParticleSize,
86 return FString::Printf(
87 TEXT(
"Temperature: %.2f, Precipitation: %.2f, Precipitation Particle Size: %.2f, Cloudiness: %.2f, Fog: %.2f, Fog Falloff: %.2f, Wind Intensity: %.2f, Wind Direction: %.2f, Snow Amount: %.2f, Tree Snowiness: %.2f, Month: %d, Time: %d"),
90 PrecipitationParticleSize,
bool IsLidarNoiseModelCondition()
FString ToStringHumanReadable() const