111 UPROPERTY(VisibleAnywhere, Category =
"Cesium") USceneComponent* Root;
118 "Use the Mobility property on the RootComponent instead."))
119 TEnumAsByte<EComponentMobility::Type> Mobility_DEPRECATED =
120 EComponentMobility::Static;
123 UFUNCTION(BlueprintCallable,
meta = (DeprecatedFunction))
125 return this->RootComponent->Mobility;
127 UFUNCTION(BlueprintCallable,
meta = (DeprecatedFunction))
148 const TArray<FVector>& LongitudeLatitudeHeightArray,
149 FCesiumSampleHeightMostDetailedCallback OnHeightsSampled);
167 Meta = (AllowPrivateAccess))
183 Meta = (AllowPrivateAccess))
188 UFUNCTION(BlueprintCallable, Category =
"Cesium")
192 UFUNCTION(BlueprintCallable, Category =
"Cesium")
202 UFUNCTION(BlueprintCallable, Category =
"Cesium")
210 UFUNCTION(BlueprintCallable, Category =
"Cesium")
227 Meta = (AllowPrivateAccess))
242 Meta = (AllowPrivateAccess))
259 Meta = (AllowPrivateAccess))
274 Meta = (AllowPrivateAccess))
285 Meta = (AllowPrivateAccess))
286 UCesiumBoundingVolumePoolComponent* BoundingVolumePoolComponent =
nullptr;
292 TSharedPtr<CesiumViewExtension, ESPMode::ThreadSafe> _cesiumViewExtension =
297 UFUNCTION(BlueprintCallable, Category =
"Cesium")
301 UFUNCTION(BlueprintCallable, Category =
"Cesium")
311 UFUNCTION(BlueprintCallable, Category =
"Cesium")
318 UFUNCTION(BlueprintCallable, Category =
"Cesium")
324 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category =
"Cesium")
328 UFUNCTION(BlueprintGetter, Category =
"Cesium")
332 UFUNCTION(BlueprintSetter, Category =
"Cesium")
342 UFUNCTION(BlueprintCallable, Category =
"Cesium")
350 UFUNCTION(BlueprintCallable, Category =
"Cesium")
372 Category =
"Cesium|Level of Detail",
373 meta = (ClampMin = 0.0))
383 Category =
"Cesium|Level of Detail")
393 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category =
"Cesium|Tile Loading")
403 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category =
"Cesium|Tile Loading")
415 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category =
"Cesium|Tile Loading")
430 Category =
"Cesium|Tile Loading",
431 meta = (ClampMin = 0))
443 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category =
"Cesium|Tile Loading")
460 Category =
"Cesium|Tile Loading",
461 meta = (ClampMin = 0))
480 Category =
"Cesium|Tile Culling",
481 Meta = (EditCondition =
"!UseLodTransitions", EditConditionHides))
497 Category =
"Cesium|Tile Culling",
498 Meta = (EditCondition =
"!UseLodTransitions", EditConditionHides))
521 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category =
"Cesium|Tile Culling")
546 Category =
"Cesium|Tile Culling",
547 meta = (EditCondition =
"EnforceCulledScreenSpaceError", ClampMin = 0.0))
553 UPROPERTY(Transient, VisibleDefaultsOnly, Category =
"Cesium|Tile Occlusion")
580 Category =
"Cesium|Tile Occlusion",
581 meta = (EditCondition =
"CanEnableOcclusionCulling"))
594 Category =
"Cesium|Tile Occlusion",
597 "EnableOcclusionCulling && CanEnableOcclusionCulling",
614 Category =
"Cesium|Tile Occlusion",
617 "EnableOcclusionCulling && CanEnableOcclusionCulling"))
626 UFUNCTION(CallInEditor, BlueprintCallable, Category =
"Cesium")
632 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category =
"Cesium|Debug")
639 UPROPERTY(EditAnywhere, Category =
"Cesium|Debug")
645 UPROPERTY(EditAnywhere, Category =
"Cesium|Debug")
652 UPROPERTY(EditAnywhere, Category =
"Cesium|Debug")
659 UPROPERTY(EditAnywhere, Category =
"Cesium|Debug")
669 Category =
"Collision",
670 meta = (ShowOnlyInnerProperties, SkipUCSModifiedProperties))
676 UPROPERTY(BlueprintAssignable, Category =
"Cesium");
689 Category =
"Cesium|Rendering")
701 Category =
"Cesium|Rendering",
702 meta = (EditCondition =
"UseLodTransitions", EditConditionHides))
707 float LoadProgress = 0.0f;
717 meta = (DisplayName =
"Source"))
730 meta = (EditCondition =
"TilesetSource==ETilesetSource::FromUrl"))
744 (EditCondition =
"TilesetSource==ETilesetSource::FromCesiumIon",
756 meta = (EditCondition =
"TilesetSource==ETilesetSource::FromCesiumIon"))
757 FString IonAccessToken;
762 DeprecationMessage =
"Use CesiumIonServer instead."))
763 FString IonAssetEndpointUrl_DEPRECATED;
774 meta = (EditCondition =
"TilesetSource==ETilesetSource::FromCesiumIon"))
785 TMap<FString, FString> RequestHeaders;
791 UFUNCTION(CallInEditor, Category =
"Cesium")
792 void TroubleshootToken();
807 Category =
"Cesium|Physics")
808 bool CreatePhysicsMeshes = true;
820 Category =
"Cesium|Physics",
821 meta = (EditCondition =
"CreatePhysicsMeshes"))
822 bool EnableDoubleSidedCollisions = false;
836 Category =
"Cesium|Navigation")
837 bool CreateNavCollision = false;
858 Category =
"Cesium|Rendering")
859 bool AlwaysIncludeTangents = false;
874 Category =
"Cesium|Rendering")
875 bool GenerateSmoothNormals = false;
887 Category =
"Cesium|Rendering")
888 bool EnableWaterMask = false;
904 Category =
"Cesium|Rendering",
905 meta = (DisplayName =
"Ignore KHR_materials_unlit"))
906 bool IgnoreKhrMaterialsUnlit = false;
915 Category =
"Cesium|Rendering")
916 bool ReceiveDecals = true;
930 Category =
"Cesium|Rendering")
931 UMaterialInterface* Material =
nullptr;
946 Category =
"Cesium|Rendering")
947 UMaterialInterface* TranslucentMaterial =
nullptr;
963 Category =
"Cesium|Rendering")
964 UMaterialInterface* WaterMaterial =
nullptr;
970 Category =
"Rendering",
971 meta = (ShowOnlyInnerProperties))
984 Category =
"Cesium|Rendering")
995 Category =
"VirtualTexture",
996 meta = (DisplayName =
"Draw in Virtual Textures"))
997 TArray<TObjectPtr<URuntimeVirtualTexture>> RuntimeVirtualTextures;
1004 Category = VirtualTexture,
1005 meta = (DisplayName =
"Draw in Main Pass"))
1006 ERuntimeVirtualTextureMainPassType VirtualTextureRenderPassType =
1007 ERuntimeVirtualTextureMainPassType::Exclusive;
1025 Category = Rendering)
1026 int32 TranslucencySortPriority;
1033 UFUNCTION(BlueprintGetter, Category =
"Cesium")
1036 UFUNCTION(BlueprintGetter, Category =
"Cesium")
1039 UFUNCTION(BlueprintSetter, Category =
"Cesium")
1042 UFUNCTION(BlueprintGetter, Category =
"Cesium")
1045 UFUNCTION(BlueprintSetter, Category =
"Cesium")
1048 UFUNCTION(BlueprintGetter, Category =
"Cesium")
1051 UFUNCTION(BlueprintSetter, Category =
"Cesium")
1054 UFUNCTION(BlueprintGetter, Category =
"Cesium")
1057 UFUNCTION(BlueprintSetter, Category =
"Cesium")
1060 UFUNCTION(BlueprintGetter, Category =
"Cesium")
1063 UFUNCTION(BlueprintSetter, Category =
"Cesium")
1066 UFUNCTION(BlueprintGetter, Category =
"Cesium")
1069 UFUNCTION(BlueprintSetter, Category =
"Cesium")
1072 UFUNCTION(BlueprintGetter, Category =
"Cesium")
1075 UFUNCTION(BlueprintGetter, Category =
"VirtualTexture")
1077 return RuntimeVirtualTextures;
1080 UFUNCTION(BlueprintSetter, Category =
"VirtualTexture")
1082 TArray<URuntimeVirtualTexture*> InRuntimeVirtualTextures);
1084 UFUNCTION(BlueprintGetter, Category =
"VirtualTexture")
1086 return VirtualTextureRenderPassType;
1089 UFUNCTION(BlueprintGetter, Category = Rendering)
1092 UFUNCTION(BlueprintSetter, Category = Rendering)
1095 UFUNCTION(BlueprintSetter, Category =
"Cesium")
1098 UFUNCTION(BlueprintGetter, Category =
"Cesium")
1101 UFUNCTION(BlueprintSetter, Category =
"Cesium")
1104 UFUNCTION(BlueprintGetter, Category =
"Cesium|Tile Culling|Experimental")
1107 UFUNCTION(BlueprintSetter, Category =
"Cesium|Tile Culling|Experimental")
1110 UFUNCTION(BlueprintGetter, Category =
"Cesium|Tile Culling|Experimental")
1113 UFUNCTION(BlueprintSetter, Category =
"Cesium|Tile Culling|Experimental")
1116 UFUNCTION(BlueprintGetter, Category =
"Cesium|Tile Culling|Experimental")
1121 UFUNCTION(BlueprintSetter, Category =
"Cesium|Tile Culling|Experimental")
1124 UFUNCTION(BlueprintGetter, Category =
"Cesium|Physics")
1127 UFUNCTION(BlueprintSetter, Category =
"Cesium|Physics")
1130 UFUNCTION(BlueprintGetter, Category =
"Cesium|Physics")
1132 return EnableDoubleSidedCollisions;
1135 UFUNCTION(BlueprintSetter, Category =
"Cesium|Physics")
1138 UFUNCTION(BlueprintGetter, Category =
"Cesium|Navigation")
1141 UFUNCTION(BlueprintSetter, Category =
"Cesium|Navigation")
1144 UFUNCTION(BlueprintGetter, Category =
"Cesium|Rendering")
1147 UFUNCTION(BlueprintSetter, Category =
"Cesium|Rendering")
1150 UFUNCTION(BlueprintGetter, Category =
"Cesium|Rendering")
1153 UFUNCTION(BlueprintSetter, Category =
"Cesium|Rendering")
1156 UFUNCTION(BlueprintGetter, Category =
"Cesium|Rendering")
1159 UFUNCTION(BlueprintSetter, Category =
"Cesium|Rendering")
1162 UFUNCTION(BlueprintGetter, Category =
"Cesium|Rendering")
1164 UFUNCTION(BlueprintSetter, Category =
"Cesium|Rendering")
1167 UFUNCTION(BlueprintGetter, Category =
"Cesium|Rendering")
1169 UFUNCTION(BlueprintSetter, Category =
"Cesium|Rendering")
1172 UFUNCTION(BlueprintGetter, Category =
"Cesium|Rendering")
1175 UFUNCTION(BlueprintSetter, Category =
"Cesium|Rendering")
1178 UFUNCTION(BlueprintGetter, Category =
"Cesium|Rendering")
1180 return TranslucentMaterial;
1183 UFUNCTION(BlueprintSetter, Category =
"Cesium|Rendering")
1186 UFUNCTION(BlueprintGetter, Category =
"Cesium|Rendering")
1189 UFUNCTION(BlueprintSetter, Category =
"Cesium|Rendering")
1192 UFUNCTION(BlueprintGetter, Category =
"Rendering")
1194 return CustomDepthParameters;
1197 UFUNCTION(BlueprintSetter, Category =
"Rendering")
1200 UFUNCTION(BlueprintGetter, Category =
"Cesium|Rendering")
1202 return PointCloudShading;
1205 UFUNCTION(BlueprintSetter, Category =
"Cesium|Rendering")
1208 UFUNCTION(BlueprintCallable, Category =
"Cesium|Rendering")
1211 UFUNCTION(BlueprintCallable, Category =
"Cesium|Rendering")
1214 UFUNCTION(BlueprintCallable, Category =
"Cesium|Rendering")
1229 return this->_pTileset.Get();
1232 return this->_pTileset.Get();
1237 virtual void Tick(
float DeltaTime)
override;
1241 virtual void EndPlay(
const EEndPlayReason::Type EndPlayReason)
override;
1250 PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
override;
1251 virtual void PostEditChangeChainProperty(
1252 FPropertyChangedChainEvent& PropertyChangedChainEvent)
override;
1253 virtual void PostEditUndo()
override;
1254 virtual void PostEditImport()
override;
1269 class UPrimitiveComponent* MyComp,
1271 class UPrimitiveComponent* OtherComp,
1273 FVector HitLocation,
1275 FVector NormalImpulse,
1276 const FHitResult& Hit)
override;
1280 void DestroyTileset();
1284 const glm::dmat4& unrealWorldToTileset,
1287 std::vector<FCesiumCamera> GetCameras()
const;
1288 std::vector<FCesiumCamera> GetPlayerCameras()
const;
1289 std::vector<FCesiumCamera> GetSceneCaptures()
const;
1306 const std::shared_ptr<Cesium3DTilesSelection::GltfModifier>&
1317 const std::shared_ptr<Cesium3DTilesSelection::GltfModifier>& Modifier);
1340 UFUNCTION(CallInEditor)
1341 void HandleOnGeoreferenceEllipsoidChanged(
1358 void updateTilesetOptionsFromProperties();
1367 void updateLastViewUpdateResultState(
1376 void showTilesToRender(
1377 const std::vector<Cesium3DTilesSelection::Tile::ConstPointer>& tiles);
1384 void AddFocusViewportDelegate();
1387 std::vector<FCesiumCamera> GetEditorCameras()
const;
1398 void OnFocusEditorViewportOnThis();
1400 void RuntimeSettingsChanged(
1402 struct FPropertyChangedEvent& changed);
1406 TUniquePtr<Cesium3DTilesSelection::Tileset> _pTileset;
1407 TWeakObjectPtr<UCesiumFeaturesMetadataComponent> _pFeaturesMetadataComponent;
1408 TWeakObjectPtr<UCesiumVoxelMetadataComponent> _pVoxelMetadataComponent;
1410 bool _destroyOnNextTick;
1412#ifdef CESIUM_DEBUG_TILE_STATES
1413 TUniquePtr<Cesium3DTilesSelection::DebugTileStateDatabase> _pStateDebug;
1416 PRAGMA_DISABLE_DEPRECATION_WARNINGS
1417 std::optional<FMetadataDescription> _metadataDescription_DEPRECATED;
1418 PRAGMA_ENABLE_DEPRECATION_WARNINGS
1424 UCesiumVoxelRendererComponent* _pVoxelRendererComponent =
nullptr;
1427 uint32_t _lastTilesRendered;
1428 uint32_t _lastWorkerThreadTileLoadQueueLength;
1429 uint32_t _lastMainThreadTileLoadQueueLength;
1431 uint32_t _lastTilesVisited;
1432 uint32_t _lastCulledTilesVisited;
1433 uint32_t _lastTilesCulled;
1434 uint32_t _lastTilesOccluded;
1435 uint32_t _lastTilesWaitingForOcclusionResults;
1436 uint32_t _lastMaxDepthVisited;
1438 std::chrono::high_resolution_clock::time_point _startTime;
1440 bool _captureMovieMode;
1441 bool _beforeMoviePreloadAncestors;
1442 bool _beforeMoviePreloadSiblings;
1443 int32_t _beforeMovieLoadingDescendantLimit;
1444 bool _beforeMovieUseLodTransitions;
1446 bool _scaleUsingDPI;
1460 std::vector<Cesium3DTilesSelection::Tile::ConstPointer> _tilesToHideNextFrame;
1462 int32 _tilesetsBeingDestroyed;
1464 std::shared_ptr<Cesium3DTilesSelection::GltfModifier> _pGltfModifier;
1472 UPROPERTY(Transient, DuplicateTransient, TextExportTransient)
1473 UObject* _pLifecycleEventReceiver;