UAddPatchTool

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

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

Include

#include "AddPatchTool.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UAddPatchTool :
    public USingleClickTool,
    public IHoverBehaviorTarget

Variables

Name Description

Protected variable

IToolsContextAs...

 

AssetAPI

Protected variable

TUniquePtr< FDy...

 

BaseMesh

Protected variable

bool

 

bPreviewValid

Protected variable UProperty

UNewMeshMateria...

 

MaterialProperties

Protected variable UProperty

UPreviewMesh &#...

 

PreviewMesh

Protected variable

FFrame3f

 

ShapeFrame

Protected variable UProperty

UAddPatchToolPr...

 

ShapeSettings

Protected variable

UWorld *

 

TargetWorld

Protected variable

FBox

 

WorldBounds

Functions

Name Description

Protected function

void

 

GeneratePlane

(
    FDynamicMesh3* OutMesh
)

Protected function

void

 

GeneratePreviewBaseMesh()

Public function Virtual

void

 

SetAssetAPI

(
    IToolsContextAssetAPI* AssetAP...
)

Public function Virtual

void

 

SetWorld

(
    UWorld* World
)

Protected function

void

 

UpdatePreviewMesh()

Protected function

void

 

UpdatePreviewPosition

(
    const FInputDeviceRay& ClickPos
)

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()

Register default primary-button-click InputBehaviors

Public function Virtual

void

 

Shutdown

(
    EToolShutdownType ShutdownType
)

Called by ToolManager to shut down the Tool

Overridden from IClickBehaviorTarget

Name Description

Public function Virtual

void

 

OnClicked

(
    const FInputDeviceRay& ClickPos
)

Click the Target at this 2D position / 3D ray. Default behavior is to print debug string.

Overridden from IHoverBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

BeginHoverSequenceHitTest

(
    const FInputDeviceRay& PressPos
)

Do hover hit-test

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

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