IMeshPaintEdMode

Mesh Paint editor mode

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshPaint

Header

/Engine/Source/Editor/MeshPaint/Public/IMeshPaintMode.h

Include

#include "IMeshPaintMode.h"

Syntax

class IMeshPaintEdMode : public FEdMode

Remarks

Mesh Paint editor mode

Variables

Name Description

Protected variable

IMeshPainter &#...

 

MeshPainter

Painter used by this edit mode for applying paint actions

Constructors

Name Description

Public function

IMeshPaintEdMode()

Constructor

Destructors

Name Description

Public function Virtual

~IMeshPaintEdMode()

Destructor

Functions

Name Description

Public function

IMeshPainter...

 

GetMeshPainter()

Returns the mesh painter for this mode

Public function

TSharedPtr< ...

 

GetToolkit()

Overridden from FEdMode

Name Description

Public function Virtual

void

 

ActorSelectionChangeNotify()

FEdMode: Called when the currently selected actor has changed

Public function Virtual

bool

 

AllowWidgetMove()

If the EdMode is handling InputDelta (i.e., returning true from it), this allows a mode to indicated whether or not the Widget should also move.

Public function Virtual

bool

 

EndTracking

(
    FEditorViewportClient* InViewp...,
    FViewport* InViewport
)

FEdMode: Called when a mouse button is released

Public function Virtual

void

 

Enter()

Public function Virtual

void

 

Exit()

Public function

void

 

Initialize()

Public function Virtual

bool

 

InputKey

(
    FEditorViewportClient* InViewp...,
    FViewport* InViewport,
    FKey InKey,
    EInputEvent InEvent
)

FEdMode: Called when a key is pressed

Public function Virtual

void

 

PostUndo()

FEdMode: Called after an Undo operation

Public function Virtual

bool

 

ProcessCapturedMouseMoves

(
    FEditorViewportClient* InViewp...,
    FViewport* InViewport,
    const TArrayView< FIntPoint >& Cap...
)

Process all captured mouse moves that occurred during the current frame

Public function Virtual

bool

 

ProcessEditDelete()

Public function Virtual

void

 

Render

(
    const FSceneView* View,
    FViewport* Viewport,
    FPrimitiveDrawInterface* PDI
)

FEdMode: Render the mesh paint tool

Public function Virtual

bool

 

Select

(
    AActor* InActor,
    bool bInSelected
)

FEdMode: Handling SelectActor

Public function Virtual Const

bool

 

ShouldDrawWidget()

Lets the mode determine if it wants to draw the widget or not.

Public function Virtual

bool

 

StartTracking

(
    FEditorViewportClient* InViewp...,
    FViewport* InViewport
)

Public function Virtual

void

 

Tick

(
    FEditorViewportClient* Viewpor...,
    float DeltaTime
)

IMeshPaintEdMode: Called once per frame

Public function Virtual Const

bool

 

UsesToolkits()

True if this mode uses a toolkit mode (eventually they all should)

Public function Virtual Const

bool

 

UsesTransformWidget()

Lets each tool determine if it wants to use the editor widget or not.

Overridden from FGCObject

Name Description

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

FGCObject interface

Public function Virtual Const

FString

 

GetReferencerName()

Use this method to report a name for your referencer.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss