UGroupEdgeInsertionTool

Tool for inserting group edges into polygons of the mesh.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

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

Include

#include "GroupEdgeInsertionTool.h"

Syntax

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

Remarks

Tool for inserting group edges into polygons of the mesh.

Variables

Name Description

Protected variable

IToolsContextAs...

 

AssetAPI

Protected variable

bool

 

bEndIsCorner

Protected variable

bool

 

bLastComputeSucceeded

Protected variable

bool

 

bShowingBaseMesh

Protected variable

bool

 

bStartIsCorner

Protected variable

FViewCameraStat...

 

CameraState

Protected variable

int32

 

CommonBoundaryIndex

Protected variable

int32

 

CommonGroupID

Protected variable

int32

 

CurrentChangeStamp

Protected variable

TSharedPtr< FDy...

 

CurrentMesh

Protected variable

TSharedPtr< FGr...

 

CurrentTopology

Protected variable

FGroupEdgeInser...

 

EndPoint

Protected variable

int32

 

EndTopologyID

Protected variable

FToolDataVisual...

 

ExistingEdgesRenderer

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

TArray< FVector...

 

PreviewPoints

Protected variable UProperty

UGroupEdgeInser...

 

Settings

Protected variable

FGroupEdgeInser...

 

StartPoint

Inputs from user interaction:

Protected variable

int32

 

StartTopologyID

Protected variable

UWorld *

 

TargetWorld

Protected variable

EToolState

 

ToolState

State control:

Protected variable

FGroupTopologyS...

 

TopologySelector

Protected variable

FGroupTopologyS...

 

TopologySelectorSettings

Constructors

Name Description

Public function

UGroupEdgeInsertionTool()

Functions

Name Description

Protected function

void

 

ClearPreview

(
    bool bClearDrawnElements,
    bool bForce
)

Protected function

void

 

ConditionallyUpdatePreview

(
    const FGroupEdgeInserter::FGroupEdg...,
    int32 NewEndTopologyID,
    bool bNewEndIsCorner,
    int32 NewCommonGroupID,
    int32 NewBoundaryIndex
)

Protected function

void

 

ExpireChanges()

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

Protected function

void

 

GetCornerTangent

(
    int32 CornerID,
    int32 GroupID,
    int32 BoundaryIndex,
    FVector3d& TangentOut
)

Protected function

bool

 

GetHoveredItem

(
    const FRay& WorldRay,
    FGroupEdgeInserter::FGroupEdgeSplit...,
    int32& TopologyElementIDOut,
    bool& bIsCornerOut,
    FVector3d& PositionOut,
    FRay3d* LocalRayOut
)

Public function Virtual

void

 

SetAssetAPI

(
    IToolsContextAssetAPI* AssetAP...
)

Protected function

void

 

SetupPreview()

Public function Virtual

void

 

SetWorld

(
    UWorld* World
)

Protected function

bool

 

TopologyHitTest

(
    const FRay& WorldRay,
    FVector3d& RayPositionOut,
    FRay3d* LocalRayOut
)

Overridden from UInteractiveTool

Name Description

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

Enums

Name

Description

Private enum

EToolState

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