UEdgeLoopInsertionTool

Tool for inserting (group) edge loops into a mesh.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

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

Include

#include "EdgeLoopInsertionTool.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UEdgeLoopInsertionTool :
    public USingleSelectionTool,
    public IHoverBehaviorTarget,
    public IClickBehaviorTarget

Remarks

Tool for inserting (group) edge loops into a mesh.

Variables

Name Description

Protected variable

IToolsContextAs...

 

AssetAPI

Protected variable

bool

 

bLastComputeSucceeded

Copied over on op completion.

Protected variable

bool

 

bShowingBaseMesh

Lets us reset the preview to the original mesh using the op.

Protected variable

bool

 

bWaitingForInsertionCompletion

On valid clicks, we wait to finish the background op and apply it before taking more input.

Protected variable

FViewCameraStat...

 

CameraState

Protected variable

int32

 

CurrentChangeStamp

Used to expire undo/redo changes on op shutdown.

Protected variable

TSharedPtr< FDy...

 

CurrentMesh

Protected variable

TSharedPtr< FGr...

 

CurrentTopology

Protected variable

FToolDataVisual...

 

ExistingEdgesRenderer

Protected variable

int32

 

InputGroupEdgeID

Taken from user interaction, read as inputs by the op factory.

Protected variable

double

 

InteractiveInputLength

Protected variable

TSharedPtr< FGr...

 

LatestOpTopologyResult

Protected variable

FDynamicMeshAAB...

 

MeshSpatial

Protected variable UProperty

UMeshOpPreviewW...

 

Preview

Protected variable

FToolDataVisual...

 

PreviewEdgeRenderer

Protected variable

TArray< TPair< ...

 

PreviewEdges

Protected variable UProperty

UEdgeLoopInsert...

 

Settings

Protected variable

UWorld *

 

TargetWorld

Protected variable

FGroupTopologyS...

 

TopologySelector

Protected variable

FGroupTopologyS...

 

TopologySelectorSettings

Constructors

Name Description

Public function

UEdgeLoopInsertionTool()

Functions

Name Description

Protected function

void

 

ClearPreview()

Protected function

void

 

ConditionallyUpdatePreview

(
    int32 NewGroupID,
    double* NewInputLength
)

Protected function

void

 

ExpireChanges()

Expires the tool-associated changes in the undo/redo stack.

Protected function

FInputRayHit

 

HitTest

(
    const FRay& WorldRay
)

Public function Virtual

void

 

SetAssetAPI

(
    IToolsContextAssetAPI* AssetAP...
)

Protected function

void

 

SetupPreview()

Public function Virtual

void

 

SetWorld

(
    UWorld* World
)

Protected function

bool

 

UpdateHoveredItem

(
    const FRay& WorldRay
)

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

 

OnPropertyModified

(
    UObject* PropertySet,
    FProperty* Property
)

Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes

Public function Virtual

void

 

OnTick

(
    float DeltaTime
)

Action support/system

Public function Virtual

void

 

Render

(
    IToolsContextRenderAPI* Render...
)

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

Public function Virtual

void

 

Setup()

Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called

Public function Virtual

void

 

Shutdown

(
    EToolShutdownType ShutdownType
)

Called by ToolManager to shut down the Tool

Overridden from IHoverBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

BeginHoverSequenceHitTest

(
    const FInputDeviceRay& PressPos
)

IHoverBehaviorTarget.

Public function Virtual

void

 

OnBeginHover

(
    const FInputDeviceRay& DevicePos
)

Initialize hover sequence at given position

Public function Virtual

void

 

OnEndHover()

Terminate active hover sequence

Public function Virtual

bool

 

OnUpdateHover

(
    const FInputDeviceRay& DevicePos
)

Update active hover sequence with new input position

Overridden from IClickBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

IsHitByClick

(
    const FInputDeviceRay& ClickPos
)

IClickBehaviorTarget.

Public function Virtual

void

 

OnClicked

(
    const FInputDeviceRay& ClickPos
)

Notify Target that click ocurred

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