UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Note.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
8#pragma once
9
10#include "CoreMinimal.h"
12#include "GameFramework/Actor.h"
13#include "Note.generated.h"
14
15UCLASS(MinimalAPI, hidecategories = (Input), showcategories=("Input|MouseInput", "Input|TouchInput"))
16class ANote : public AActor
17{
19
20#if WITH_EDITORONLY_DATA
21 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Note, meta = (MultiLine = "true"))
22 FString Text;
23
24 // Reference to sprite visualization component
26 UPROPERTY()
27 TObjectPtr<class UBillboardComponent> SpriteComponent;
28
29 // Reference to arrow visualization component
30 UPROPERTY()
32public:
33
34#endif // WITH_EDITORONLY_DATA
35
36#if WITH_EDITOR
37 //~ Begin AActor Interface
38 ENGINE_API virtual void CheckForErrors() override;
39 //~ End AActor Interface
40#endif
41
42#if WITH_EDITORONLY_DATA
44 class UBillboardComponent* GetSpriteComponent() const { return SpriteComponent; }
46 class UArrowComponent* GetArrowComponent() const { return ArrowComponent; }
47#endif
48};
49
50
51
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#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 ObjectPtr.h:488