Navigation
API > API/Plugins > API/Plugins/UVEditorTools
Allows tools to interact with the 2d preview viewport
| Name | UUVTool2DViewportAPI |
| Type | class |
| Header File | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/ContextObjects/UVToolContextObjects.h |
| Include Path | #include "ContextObjects/UVToolContextObjects.h" |
Syntax
UCLASS ()
class UUVTool2DViewportAPI : public UUVToolContextObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UUVToolContextObject → UUVTool2DViewportAPI
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnDrawGridChange | TMulticastDelegate_OneParam< void, bool bDrawGrid > | ContextObjects/UVToolContextObjects.h | |
| FOnDrawRulersChange | TMulticastDelegate_OneParam< void, bool bDrawRulers > | ContextObjects/UVToolContextObjects.h | |
| FOnUDIMBlockChange | TMulticastDelegate_OneParam< void, const TArray< FUDIMBlock > &UDIMBlocks > | ContextObjects/UVToolContextObjects.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnDrawGridChange | FOnDrawGridChange | ContextObjects/UVToolContextObjects.h | ||
| OnDrawRulersChange | FOnDrawRulersChange | ContextObjects/UVToolContextObjects.h | ||
| OnUDIMBlockChange | FOnUDIMBlockChange | ContextObjects/UVToolContextObjects.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const bool GetDrawGrid() |
ContextObjects/UVToolContextObjects.h | ||
const bool GetDrawRulers() |
ContextObjects/UVToolContextObjects.h | ||
const TArray< FUDIMBlock > & GetUDIMBlocks() |
ContextObjects/UVToolContextObjects.h | ||
void SetDrawGrid
(
bool bDrawGridIn, |
ContextObjects/UVToolContextObjects.h | ||
void SetDrawRulers
(
bool bDrawRulersIn, |
ContextObjects/UVToolContextObjects.h | ||
void SetUDIMBlocks
(
TArray< FUDIMBlock >& BlocksIn, |
ContextObjects/UVToolContextObjects.h |