Navigation
API > API/Plugins > API/Plugins/UVEditorTools
Inheritance Hierarchy
- UInteractiveTool
- IUVToolSupportsSelection
- IGenericDataOperatorFactory
- UUVEditorUVSnapshotTool
References
| Module | UVEditorTools |
| Header | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/UVEditorUVSnapshotTool.h |
| Include | #include "UVEditorUVSnapshotTool.h" |
Syntax
UCLASS ()
class UUVEditorUVSnapshotTool :
public UInteractiveTool ,
public IUVToolSupportsSelection ,
public UE::Geometry::IGenericDataOperatorFactory< UE::Geometry::FMeshMapBaker >
Remarks
UV Snapshot Tool
Exports a texture asset of a UV Layout
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetTarget
(
const TObjectPtr< UUVEditorToolMeshInput >& TargetIn |
The tool will operate on the mesh given here. Supports only one mesh. |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | Render
(
IToolsContextRenderAPI* RenderAPI |
Allow the Tool to do any custom drawing (ie via PDI/RHI) | |
| void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called | |
| void | Shutdown
(
EToolShutdownType ShutdownType |
Called by ToolManager to shut down the Tool |
Overridden from IGenericDataOperatorFactory
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< UE::Geometry::TGenericDataOperator< UE::Geometry::FMeshMapBaker > > |