UDrawPolyPathTool

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsExp

Header

/Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/DrawPolyPathTool.h

Include

#include "DrawPolyPathTool.h"

Syntax

UCLASS()
class UDrawPolyPathTool :
    public UInteractiveTool,
    public IClickBehaviorTarget,
    public IHoverBehaviorTarget

Variables

Name Description

Protected variable

bool

 

bHasSavedExtrudeHeight

Protected variable

bool

 

bHasSavedRadius

Protected variable

bool

 

bHasSavedWidth

Protected variable

bool

 

bIgnoreSnappingToggle

Protected variable

bool

 

bPathIsClosed

Protected variable

bool

 

bSpecifyingRadius

Protected variable

FViewCameraStat...

 

CameraState

Protected variable

double

 

CurHeight

Protected variable

double

 

CurPathLength

Protected variable

TArray< UE::Geo...

 

CurPathPoints

Protected variable

TArray< FVector...

 

CurPolyLine

Protected variable

TArray< FVector...

 

CurPolyLoop

Protected variable

int32

 

CurrentCurveTimestamp

Protected variable UProperty

TObjectPtr< USp...

 

CurveDistMechanic

Protected variable

UE::Geometry::F...

 

DrawPlaneWorld

Protected variable UProperty

TObjectPtr< UPo...

 

EditPreview

Protected variable UProperty

TObjectPtr< UPl...

 

ExtrudeHeightMechanic

Protected variable UProperty

TObjectPtr< UDr...

 

ExtrudeProperties

Protected variable UProperty

TObjectPtr< UNe...

 

MaterialProperties

Protected variable

TArray< double ...

 

OffsetScaleFactors

Protected variable UProperty

TObjectPtr< UCr...

 

OutputTypeProperties

Property set for type of output object (StaticMesh, Volume, etc)

Protected variable UProperty

TObjectPtr< UCo...

 

PlaneMechanic

Protected variable

float

 

SavedExtrudeHeight

Protected variable

float

 

SavedRadius

Protected variable

float

 

SavedWidth

Protected variable

TArray< FVector...

 

SecondPolyLoop

Protected variable

EState

 

State

Protected variable UProperty

TObjectPtr< UCo...

 

SurfacePathMechanic

Protected variable

UWorld *

 

TargetWorld

Protected variable UProperty

TObjectPtr< UDr...

 

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

UE::Geometry::F...

 

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

 

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 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 IModifierToggleBehaviorTarget

Name Description

Public function Virtual

void

 

OnUpdateModifierState

(
    int ModifierID,
    bool bIsOn
)

IModifierToggleBehaviorTarget.

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

Enums

Name

Description

Protected enum

EState

Constants

Name

Description

ShiftModifierID