Navigation
API > API/Plugins > API/Plugins/UVEditor
Client used to display a 2D view of the UV's, implemented by using a perspective viewport with a locked camera.
| Name | FUVEditor2DViewportClient |
| Type | class |
| Header File | /Engine/Plugins/Editor/UVEditor/Source/UVEditor/Public/UVEditor2DViewportClient.h |
| Include Path | #include "UVEditor2DViewportClient.h" |
Syntax
class FUVEditor2DViewportClient :
public FEditorViewportClient ,
public IInputBehaviorSource
Inheritance Hierarchy
- FViewportClient → FCommonViewportClient → FEditorViewportClient → FUVEditor2DViewportClient
- FViewElementDrawer → FEditorViewportClient → FUVEditor2DViewportClient
- FGCObject → FEditorViewportClient → FUVEditor2DViewportClient
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUVEditor2DViewportClient
(
FEditorModeTools* InModeTools, |
UVEditor2DViewportClient.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FUVEditor2DViewportClient() |
UVEditor2DViewportClient.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AreSelectionButtonsEnabled() |
UVEditor2DViewportClient.h | ||
bool AreWidgetButtonsEnabled() |
UVEditor2DViewportClient.h | ||
bool GetLocationGridSnapEnabled() |
UVEditor2DViewportClient.h | ||
float GetLocationGridSnapValue() |
UVEditor2DViewportClient.h | ||
bool GetRotationGridSnapEnabled() |
UVEditor2DViewportClient.h | ||
float GetRotationGridSnapValue() |
UVEditor2DViewportClient.h | ||
bool GetScaleGridSnapEnabled() |
UVEditor2DViewportClient.h | ||
float GetScaleGridSnapValue() |
UVEditor2DViewportClient.h | ||
UUVToolViewportButtonsAPI::ESelectionMode GetSelectionMode() |
UVEditor2DViewportClient.h | ||
void OverrideNearClipPlane
(
float InNearPlane |
Overriding base class visibility. | UVEditor2DViewportClient.h | |
void SetLocationGridSnapEnabled
(
bool bEnabled |
UVEditor2DViewportClient.h | ||
void SetLocationGridSnapValue
(
float SnapValue |
UVEditor2DViewportClient.h | ||
void SetRotationGridSnapEnabled
(
bool bEnabled |
UVEditor2DViewportClient.h | ||
void SetRotationGridSnapValue
(
float SnapValue |
UVEditor2DViewportClient.h | ||
void SetScaleGridSnapEnabled
(
bool bEnabled |
UVEditor2DViewportClient.h | ||
void SetScaleGridSnapValue
(
float SnapValue |
UVEditor2DViewportClient.h | ||
void SetSelectionMode
(
UUVToolViewportButtonsAPI::ESelectionMode NewMode |
UVEditor2DViewportClient.h |
Overridden from FEditorViewportClient
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanSetWidgetMode
(
UE::Widget::EWidgetMode NewMode |
UVEditor2DViewportClient.h | ||
virtual void DrawCanvas
(
FViewport& InViewport, |
UVEditor2DViewportClient.h | ||
virtual UE::Widget::EWidgetMode GetWidgetMode() |
UVEditor2DViewportClient.h | ||
virtual void SetWidgetMode
(
UE::Widget::EWidgetMode NewMode |
UVEditor2DViewportClient.h | ||
virtual bool ShouldOrbitCamera() |
UVEditor2DViewportClient.h |
Overridden from FViewportClient
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool InputKey
(
const FInputKeyEventArgs& EventArgs |
FEditorViewportClient. | UVEditor2DViewportClient.h |
Overridden from FViewElementDrawer
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Draw
(
const FSceneView* View, |
UVEditor2DViewportClient.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
FGCObject. | UVEditor2DViewportClient.h |
Overridden from IInputBehaviorSource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UInputBehaviorSet * GetInputBehaviors() |
IInputBehaviorSource. | UVEditor2DViewportClient.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DrawGrid
(
const FSceneView* View, |
UVEditor2DViewportClient.h | ||
void DrawGridRulers
(
FViewport& InViewport, |
UVEditor2DViewportClient.h | ||
void DrawUDIMLabels
(
FViewport& InViewport, |
UVEditor2DViewportClient.h |