| // Copyright Epic Games, Inc. All Rights Reserved. | |
| class FDebugDisplayInfo; | |
| class UCanvas; | |
| class UObject; | |
| class ULyraUICameraManagerComponent; | |
| /** | |
| * ALyraPlayerCameraManager | |
| * | |
| * The base player camera manager class used by this project. | |
| */ | |
| UCLASS(notplaceable, MinimalAPI) | |
| class ALyraPlayerCameraManager : public APlayerCameraManager | |
| { | |
| GENERATED_BODY() | |
| public: | |
| ALyraPlayerCameraManager(const FObjectInitializer& ObjectInitializer); | |
| ULyraUICameraManagerComponent* GetUICameraComponent() const; | |
| protected: | |
| virtual void UpdateViewTarget(FTViewTarget& OutVT, float DeltaTime) override; | |
| virtual void DisplayDebug(UCanvas* Canvas, const FDebugDisplayInfo& DebugDisplay, float& YL, float& YPos) override; | |
| private: | |
| /** The UI Camera Component, controls the camera when UI is doing something important that gameplay doesn't get priority over. */ | |
| UPROPERTY(Transient) | |
| TObjectPtr<ULyraUICameraManagerComponent> UICamera; | |
| }; | |