UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DocumentationActor.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
8#include "DocumentationActor.generated.h"
9
11{
12 enum Type
13 {
14 // The link is unset
16 // A UDN document link
18 // A URL
20 // the link is invalid
22 };
23}
24
25
26UCLASS(hidecategories = (Sprite, MaterialSprite, Actor, Transform, Tags, Materials, Rendering, Components, Blueprint, bject, Collision, Display, Rendering, Physics, Input, Lighting, Layers), MinimalAPI)
29{
31
32 /* Open the document link this actor relates to */
33 ENGINE_API bool OpenDocumentLink() const;
34
35 /* Is the document link this actor has valid */
36 ENGINE_API bool HasValidDocumentLink() const;
37
38 // Actor interface
39#if WITH_EDITOR
40 ENGINE_API virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;
41
42 ENGINE_API virtual void PostLoad() override;
43#endif
44 // End of Actor interface
45
46#if WITH_EDITORONLY_DATA
48 UPROPERTY(Category = HelpDocumentation, EditAnywhere, BlueprintReadWrite, AdvancedDisplay)
49 FString DocumentLink;
50
51private:
52 UPROPERTY(Category = Sprite, VisibleAnywhere, BlueprintReadOnly, meta = (AllowPrivateAccess = "true"))
54#endif
55
56public:
57
59 ENGINE_API EDocumentationActorType::Type GetLinkType() const;
60
61private:
62
64 ENGINE_API void UpdateLinkType();
65
67
68public:
69
70#if WITH_EDITORONLY_DATA
72 class UMaterialBillboardComponent* GetBillboard() const { return Billboard; }
73#endif
74};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
DIRECTLINK_API Display
Definition DirectLinkLog.h:8
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Actor.h:257
Definition DocumentationActor.h:29
Definition DocumentationActor.h:11
Type
Definition DocumentationActor.h:13
@ InvalidLink
Definition DocumentationActor.h:21
@ None
Definition DocumentationActor.h:15
@ UDNLink
Definition DocumentationActor.h:17
@ URLLink
Definition DocumentationActor.h:19
Definition UnrealType.h:6865
Definition ObjectPtr.h:488