Files
UnrealEngineUWP/Engine/Source/Editor/VREditor/UI/VREditorFloatingCameraUI.h
bryan sefcik 477a8816c2 VREditor:
Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631e5335544fb584da35175c

[CL 21989607 by bryan sefcik in ue5-main branch]
2022-09-13 15:03:52 -04:00

39 lines
894 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Widgets/SWidget.h"
#include "UI/VREditorFloatingUI.h"
#include "VREditorFloatingCameraUI.generated.h"
class UVREditorBaseUserWidget;
class UVREditorUISystem;
typedef FName VREditorPanelID;
/**
* Represents an interactive floating UI camera preview panel in the VR Editor
*/
UCLASS(Transient)
class AVREditorFloatingCameraUI : public AVREditorFloatingUI
{
GENERATED_BODY()
public:
/** The offset of this UI from its camera */
UPROPERTY(EditDefaultsOnly, Category = "FloatingCameraUI")
FVector OffsetFromCamera;
AVREditorFloatingCameraUI(const FObjectInitializer& ObjectInitializer);
void SetLinkedActor(class AActor* InActor);
virtual FTransform MakeCustomUITransform() override;
private:
UPROPERTY( )
TWeakObjectPtr<AActor> LinkedActor;
};