Navigation
API > API/Plugins > API/Plugins/UVEditorTools
The tool in the UV editor that secretly runs when other tools are not running. It uses the selection api to allow the user to select elements, and has a gizmo that can be used to transform these elements.
| Name | UUVSelectTool |
| Type | class |
| Header File | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/UVSelectTool.h |
| Include Path | #include "UVSelectTool.h" |
Syntax
UCLASS ()
class UUVSelectTool :
public UInteractiveTool ,
public IInteractiveToolNestedAcceptCancelAPI ,
public IUVToolSupportsSelection
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveTool → UUVSelectTool
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTransform GetGizmoTransform() |
Used by undo/redo. | UVSelectTool.h | |
void SelectAll() |
UVSelectTool.h | ||
void SetGizmoTransform
(
const FTransform& NewTransform |
UVSelectTool.h | ||
virtual void SetTargets
(
const TArray< TObjectPtr< UUVEditorToolMeshInput > >& TargetsIn |
The tool will operate on the meshes given here. | UVSelectTool.h |
Overridden from UInteractiveTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DrawHUD
(
FCanvas* Canvas, |
UVSelectTool.h | ||
virtual bool HasAccept() |
UVSelectTool.h | ||
virtual bool HasCancel() |
UVSelectTool.h | ||
| UVSelectTool.h | |||
virtual void OnTick
(
float DeltaTime |
UVSelectTool.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI |
UVSelectTool.h | ||
virtual void Setup() |
UInteractiveTool. | UVSelectTool.h | |
virtual void Shutdown
(
EToolShutdownType ShutdownType |
UVSelectTool.h |
Overridden from IInteractiveToolNestedAcceptCancelAPI
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanCurrentlyNestedCancel() |
UVSelectTool.h | ||
virtual bool ExecuteNestedCancelCommand() |
UVSelectTool.h | ||
virtual bool SupportsNestedCancelCommand() |
IInteractiveToolNestedAcceptCancelAPI. | UVSelectTool.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyGizmoTransform () |
Updates previews based off of the current gizmo transform, CurrentSelections, MovingVidsPerSelection, and MovingVertOriginalPositions. | UVSelectTool.h | |
virtual void GizmoTransformChanged
(
UTransformProxy* Proxy, |
Callbacks we'll receive from the gizmo proxy. | UVSelectTool.h | |
virtual void GizmoTransformEnded
(
UTransformProxy* Proxy |
UVSelectTool.h | ||
virtual void GizmoTransformStarted
(
UTransformProxy* Proxy |
UVSelectTool.h | ||
virtual void OnSelectionChanged
(
bool bEmitChangeAllowed, |
UVSelectTool.h | ||
virtual void UpdateGizmo
(
bool bForceRecomputeSelectionCenters |
UVSelectTool.h |