41 virtual void EndPlay(
const EEndPlayReason::Type EndPlayReason)
override;
46 UPROPERTY(EditDefaultsOnly, Category =
"Cesium")
47 TSubclassOf<class UScreenCreditsWidget> CreditsWidgetClass;
52 UPROPERTY(BlueprintReadOnly, Category = "Cesium")
53 bool CreditsUpdated = false;
55 UPROPERTY(BlueprintReadOnly, Transient, Category = "Cesium")
56 class UScreenCreditsWidget* CreditsWidget;
59 virtual
bool ShouldTickIfViewportsOnly() const override;
60 virtual
void Tick(
float DeltaTime) override;
63 GetExternalCreditSystem()
const {
64 return _pCreditSystem;
71 void OnRedrawLevelEditingViewports(
bool);
72 void OnPreBeginPIE(
bool bIsSimulating);
74 void OnCleanseEditor();
78 static UObject* CesiumCreditSystemBP;
84 static FName DEFAULT_CREDITSYSTEM_TAG;
87 std::shared_ptr<CesiumUtility::CreditSystem> _pCreditSystem;
89 size_t _lastCreditsCount;
91 FString ConvertHtmlToRtf(std::string html);
92 std::unordered_map<std::string, FString> _htmlToRtf;
95 TWeakPtr<IAssetViewport> _pLastEditorViewport;