Navigation
API > API/Editor > API/Editor/MeshPaint
Mesh Paint editor mode
| Name | IMeshPaintEdMode |
| Type | class |
| Header File | /Engine/Source/Editor/MeshPaint/Public/IMeshPaintMode.h |
| Include Path | #include "IMeshPaintMode.h" |
Syntax
class IMeshPaintEdMode : public FEdMode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FEdMode → IMeshPaintEdMode
- FGCObject → FEdMode → IMeshPaintEdMode
- FEditorCommonDrawHelper → FEdMode → IMeshPaintEdMode
- FLegacyEdModeWidgetHelper → FEdMode → IMeshPaintEdMode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IMeshPaintEdMode() |
Constructor | IMeshPaintMode.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IMeshPaintEdMode() |
Destructor | IMeshPaintMode.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bWasSelectionLockedOnStart | bool | Will store the state of selection locks on start of paint mode so that it can be restored on close | IMeshPaintMode.h | |
| PaintingWithInteractorInVR | UViewportInteractor * | When painting in VR, this is the hand index that we're painting with. Otherwise INDEX_NONE. | IMeshPaintMode.h | |
| SelectionChangedHandle | FDelegateHandle | Delegate handle for registered selection change lambda | IMeshPaintMode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ActorSelectionChangeNotify() |
FEdMode: Called when the currently selected actor has changed | IMeshPaintMode.h | |
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
FGCObject interface | IMeshPaintMode.h | |
virtual bool AllowWidgetMove() |
IMeshPaintMode.h | ||
virtual bool EndTracking
(
FEditorViewportClient* InViewportClient, |
FEdMode: Called when a mouse button is released | IMeshPaintMode.h | |
virtual void Enter() |
IMeshPaintMode.h | ||
virtual void Exit() |
IMeshPaintMode.h | ||
IMeshPainter * GetMeshPainter() |
Returns the mesh painter for this mode | IMeshPaintMode.h | |
virtual FString GetReferencerName() |
IMeshPaintMode.h | ||
TSharedPtr< class FModeToolkit > GetToolkit() |
IMeshPaintMode.h | ||
void Initialize() |
IMeshPaintMode.h | ||
virtual bool InputKey
(
FEditorViewportClient* InViewportClient, |
FEdMode: Called when a key is pressed | IMeshPaintMode.h | |
virtual void PostUndo() |
FEdMode: Called after an Undo operation | IMeshPaintMode.h | |
virtual bool ProcessCapturedMouseMoves
(
FEditorViewportClient* InViewportClient, |
IMeshPaintMode.h | ||
virtual bool ProcessEditDelete() |
IMeshPaintMode.h | ||
virtual void Render
(
const FSceneView* View, |
FEdMode: Render the mesh paint tool | IMeshPaintMode.h | |
virtual bool Select
(
AActor* InActor, |
FEdMode: Handling SelectActor | IMeshPaintMode.h | |
virtual bool ShouldDrawWidget() |
IMeshPaintMode.h | ||
virtual bool StartTracking
(
FEditorViewportClient* InViewportClient, |
IMeshPaintMode.h | ||
virtual void Tick
(
FEditorViewportClient* ViewportClient, |
IMeshPaintEdMode: Called once per frame | IMeshPaintMode.h | |
virtual bool UsesToolkits() |
IMeshPaintMode.h | ||
virtual bool UsesTransformWidget() |
IMeshPaintMode.h |