diff --git a/CHANGES.md b/CHANGES.md index c35f06d95..f5b7bcfd1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,6 +17,7 @@ - Fixed a bug that causes a graphical glitch by using 16-bit indices when 32-bit is needed. - Fixed a bug where metadata from the feature table was not decoded from UTF-8. - Improved the shadows, making shadows fade in and out less noticable. +- Exposed CesiumSunSky date and time parameters to Sequencer. Be sure to use an Event Track to call `UpdateSun` every frame when animating changes in date or time. ##### Fixes :wrench: diff --git a/Source/CesiumRuntime/Public/CesiumSunSky.h b/Source/CesiumRuntime/Public/CesiumSunSky.h index 43e069092..5470e41ec 100644 --- a/Source/CesiumRuntime/Public/CesiumSunSky.h +++ b/Source/CesiumRuntime/Public/CesiumSunSky.h @@ -83,6 +83,7 @@ class CESIUMRUNTIME_API ACesiumSunSky : public AActor { UPROPERTY( EditAnywhere, BlueprintReadWrite, + Interp, Category = "Cesium|Date and Time", meta = (ClampMin = -12, ClampMax = 14)) float TimeZone = -5.f; @@ -96,6 +97,7 @@ class CESIUMRUNTIME_API ACesiumSunSky : public AActor { UPROPERTY( EditAnywhere, BlueprintReadWrite, + Interp, Category = "Cesium|Date and Time", meta = (UIMin = 4, UIMax = 22, ClampMin = 0, ClampMax = 23.9999)) float SolarTime = 13.f; @@ -109,6 +111,7 @@ class CESIUMRUNTIME_API ACesiumSunSky : public AActor { UPROPERTY( EditAnywhere, BlueprintReadWrite, + Interp, Category = "Cesium|Date and Time", meta = (ClampMin = 1, ClampMax = 31)) int32 Day = 21; @@ -122,6 +125,7 @@ class CESIUMRUNTIME_API ACesiumSunSky : public AActor { UPROPERTY( EditAnywhere, BlueprintReadWrite, + Interp, Category = "Cesium|Date and Time", meta = (ClampMin = 1, ClampMax = 12)) int32 Month = 9; @@ -135,6 +139,7 @@ class CESIUMRUNTIME_API ACesiumSunSky : public AActor { UPROPERTY( EditAnywhere, BlueprintReadWrite, + Interp, Category = "Cesium|Date and Time", meta = (UIMin = 1800, UIMax = 2200, ClampMin = 0, ClampMax = 4000)) int32 Year = 2019;