UDrawPolyPathTool

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

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

Include

#include "DrawPolyPathTool.h"

Syntax

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

Variables

Name Description

Protected variable

TArray< double ...

 

ArcLengths

Protected variable

IToolsContextAs...

 

AssetAPI

Protected variable

bool

 

bPathIsClosed

Protected variable

FViewCameraStat...

 

CameraState

Protected variable

double

 

CurHeight

Protected variable

double

 

CurOffsetDistance

Protected variable

double

 

CurPathLength

Protected variable

TArray< FFrame3...

 

CurPathPoints

Protected variable

TArray< FVector...

 

CurPolyLine

Protected variable

int32

 

CurrentCurveTimestamp

Protected variable UProperty

USpatialCurveDi...

 

CurveDistMechanic

Protected variable

FFrame3d

 

DrawPlaneWorld

Protected variable UProperty

UPolyEditPrevie...

 

EditPreview

Protected variable UProperty

UPlaneDistanceF...

 

ExtrudeHeightMechanic

Protected variable UProperty

UDrawPolyPathEx...

 

ExtrudeProperties

Protected variable UProperty

UNewMeshMateria...

 

MaterialProperties

Protected variable

TArray< double ...

 

OffsetScaleFactors

Protected variable UProperty

UConstructionPl...

 

PlaneMechanic

Protected variable UProperty

UCollectSurface...

 

SurfacePathMechanic

Protected variable

UWorld *

 

TargetWorld

Protected variable UProperty

UDrawPolyPathPr...

 

TransformProps

Protected variable

float

 

UVScaleFactor

UV Scale factor to apply to texturing on any new geometry (e.g. new faces added by extrude)

Protected variable

FTransform3d

 

WorldTransform

Camera state at last render

Functions

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

 

OnTick

(
    float DeltaTime
)

Action support/system

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

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 IClickBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

IsHitByClick

(
    const FInputDeviceRay& ClickPos
)

IClickBehaviorTarget API.

Public function Virtual

void

 

OnClicked

(
    const FInputDeviceRay& ClickPos
)

Notify Target that click ocurred

Overridden from IHoverBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

BeginHoverSequenceHitTest

(
    const FInputDeviceRay& PressPos
)

IHoverBehaviorTarget API.

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