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