UMeshSelectionTool

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/MeshSelectionTool.h

Include

#include "MeshSelectionTool.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UMeshSelectionTool : public UDynamicMeshBrushTool

Variables

Name Description

Protected variable

FMeshSelectionC...

 

ActiveSelectionChange

Selection change

Protected variable

IToolsContextAs...

 

AssetAPI

Protected variable

bool

 

bColorsUpdatePending

Protected variable

bool

 

bFullMeshInvalidationPending

Protected variable

bool

 

bHaveModifiedMesh

If true, mesh has been edited

Protected variable

bool

 

bHavePendingAction

Protected variable

bool

 

bInRemoveStroke

Protected variable

bool

 

bOctreeValid

Protected variable

bool

 

bStampPending

Protected variable

TValueWatcher< ...

 

ColorModeWatcher

Public variable UProperty

UMeshSelectionT...

 

EditActions

Protected variable

TArray< int >

 

IndexBuf

Temp

Protected variable

FBrushStampData

 

LastStamp

Protected variable

TUniquePtr< FDy...

 

Octree

Note: ideally this octree would be part of PreviewMesh!

Protected variable

EMeshSelectionT...

 

PendingAction

Protected variable

TArray< int >

 

PreviewBrushROI

Protected variable

TBitArray

 

SelectedTriangles

Protected variable

TBitArray

 

SelectedVertices

Protected variable UProperty

UMeshSelectionS...

 

Selection

Public variable UProperty

UMeshSelectionE...

 

SelectionActions

Public variable UProperty

UMeshSelectionT...

 

SelectionProps

Protected variable

EMeshSelectionE...

 

SelectionType

Protected variable

TValueWatcher< ...

 

ShowWireframeWatcher

Protected variable UProperty

TArray< AActor ...

 

SpawnedActors

Protected variable

FBrushStampData

 

StartStamp

Protected variable

UWorld *

 

TargetWorld

Protected variable

TArray< int32 >

 

TemporaryBuffer

Protected variable

TSet< int32 >

 

TemporarySet

Protected variable

TArray< int >

 

TriangleToUVIsland

Constructors

Name Description

Public function

UMeshSelectionTool()

Functions

Overridden from UDynamicMeshBrushTool

Name Description

Protected function Virtual

void

 

OnShutdown

(
    EToolShutdownType ShutdownType
)

Subclasses can override these to customize behavior

Overridden from UMeshSurfacePointTool

Name Description

Public function Virtual

bool

 

HitTest

(
    const FRay& Ray,
    FHitResult& OutHit
)

Public function Virtual

void

 

OnBeginDrag

(
    const FRay& Ray
)

UMeshSurfacePointTool implementation

Public function Virtual

void

 

OnEndDrag

(
    const FRay& Ray
)

This function is called when the user releases the button driving a click-drag-release interaction

Public function Virtual

void

 

OnUpdateDrag

(
    const FRay& Ray
)

This function is called each frame that the user is in a click-drag-release interaction

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

CanAccept()

Public function Virtual Const

bool

 

HasAccept()

Public function Virtual Const

bool

 

HasCancel()

Public function Virtual

void

 

RegisterActions

(
    FInteractiveToolActionSet& ActionS...
)

Override this function to register the set of Actions this Tool supports, using FInteractiveToolActionSet::RegisterAction.

Public function Virtual

void

 

Render

(
    IToolsContextRenderAPI* Render...
)

Allow the Tool to do any custom drawing (ie via PDI/RHI)

Public function Virtual

void

 

Setup()

Register InputBehaviors, etc

Public function Virtual

void

 

Tick

(
    float DeltaTime
)

Allow the Tool to do any necessary processing on Tick

Overridden from IHoverBehaviorTarget

Name Description

Public function Virtual

bool

 

OnUpdateHover

(
    const FInputDeviceRay& DevicePos
)

Update active hover sequence with new input position

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