From e1d02e61fc62290fd5ea9709f79e75524defb003 Mon Sep 17 00:00:00 2001 From: Kevin Ring Date: Thu, 7 Sep 2023 12:13:06 +1000 Subject: [PATCH] Improve doc of deprecated methods. --- Documentation/Doxyfile | 3 ++- Source/CesiumRuntime/Public/CesiumGlobeAnchorComponent.h | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/Doxyfile b/Documentation/Doxyfile index 2ee08fb11..1a9c5b3ef 100644 --- a/Documentation/Doxyfile +++ b/Documentation/Doxyfile @@ -2401,7 +2401,8 @@ PREDEFINED = UFUNCTION()= \ UPROPERTY()= \ GENERATED_BODY()= \ UCLASS()= \ - CESIUMRUNTIME_API= + CESIUMRUNTIME_API= \ + UE_DEPRECATED()= # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # tag can be used to specify a list of macro names that should be expanded. The diff --git a/Source/CesiumRuntime/Public/CesiumGlobeAnchorComponent.h b/Source/CesiumRuntime/Public/CesiumGlobeAnchorComponent.h index ffdacb75f..d286b64fe 100644 --- a/Source/CesiumRuntime/Public/CesiumGlobeAnchorComponent.h +++ b/Source/CesiumRuntime/Public/CesiumGlobeAnchorComponent.h @@ -452,6 +452,10 @@ class CESIUMRUNTIME_API UCesiumGlobeAnchorComponent : public UActorComponent { #pragma region Obsolete public: + /** + * @brief DEPRECATED + * @deprecated The resolved georeference can no longer be explicitly invalidated. To change the georeference, call SetGeoreference or ReregisterComponent. + */ UE_DEPRECATED( "Cesium For Unreal v2.0", "The resolved georeference can no longer be explicitly invalidated. To change the georeference, call SetGeoreference or ReregisterComponent.")