Navigation
API > API/Plugins > API/Plugins/UVEditor
| Name | UUVEditor2DViewportContext |
| Type | class |
| Header File | /Engine/Plugins/Editor/UVEditor/Source/UVEditor/Public/UVEditor2DViewportContext.h |
| Include Path | #include "UVEditor2DViewportContext.h" |
Syntax
UCLASS ()
class UUVEditor2DViewportContext : public UUnrealEdViewportToolbarContext
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UUnrealEdViewportToolbarContext → UUVEditor2DViewportContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UUVEditor2DViewportContext() |
UVEditor2DViewportContext.h |
Functions
Public
Overridden from UUnrealEdViewportToolbarContext
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText GetGridSnapLabel() |
UVEditor2DViewportContext.h | ||
virtual TArray< float > GetGridSnapSizes() |
UVEditor2DViewportContext.h | ||
virtual FText GetRotationSnapLabel() |
UVEditor2DViewportContext.h | ||
virtual FText GetScaleSnapLabel() |
UVEditor2DViewportContext.h | ||
virtual bool IsGridSnapSizeActive
(
int32 GridSizeIndex |
UVEditor2DViewportContext.h | ||
virtual bool IsRotationSnapActive
(
int32 RotationIndex, |
UVEditor2DViewportContext.h | ||
virtual bool IsScaleSnapActive
(
int32 ScaleIndex |
UVEditor2DViewportContext.h | ||
virtual void SetGridSnapSize
(
int32 GridSizeIndex |
UVEditor2DViewportContext.h | ||
virtual void SetRotationSnapSize
(
int32 RotationIndex, |
UVEditor2DViewportContext.h | ||
virtual void SetScaleSnapSize
(
int32 ScaleIndex |
UVEditor2DViewportContext.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< FUVEditor2DViewportClient > GetViewportClient() |
UVEditor2DViewportContext.h |