UTrailToolManager

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MotionTrailEditorMode

Header

/Engine/Plugins/Experimental/MotionTrailEditorMode/Source/MotionTrailEditorMode/Public/MotionTrailEditorToolset.h

Include

#include "MotionTrailEditorToolset.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UTrailToolManager :
    public UMultiSelectionTool ,
    public IClickDragBehaviorTarget ,
    public IClickBehaviorTarget

Variables

Name Description

Protected variable

TWeakObjectPtr <...

 

EditorMode

Protected variable

UInteractiveGiz ...

 

GizmoManager

Protected variable

UWorld *

 

TargetWorld

Protected variable UProperty Transient

TArray < UObject ...

 

ToolProperties

Protected variable

FString

 

TrailToolName

Functions

Name Description

Public function Const

UInteractive ...

 

GetGizmoManager()

Public function Const

const TArray ...

 

GetSelection()

Public function Const

UWorld *

 

GetWorld()

Public function

void

 

SetMotionTrailEditorMode

(
    const TWeakObjectPtr < UMotionTrailE ...
)

Public function

void

 

SetTrailToolName

(
    const FString & InTrailToolName
)

Public function

void

 

SetWorld

(
    UWorld * InTargetWorld,
    UInteractiveGizmoManager * InGi...
)

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

TArray < UObj ...

 

GetToolProperties

(
    bool bEnabledOnly
)

Property support

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 IClickDragBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

CanBeginClickDragSequence

(
    const FInputDeviceRay & PressPos
)

Test if target can begin click-drag interaction at this point

Public function Virtual

void

 

OnClickDrag

(
    const FInputDeviceRay & DragPos
)

Notify Target that input position has changed

Public function Virtual

void

 

OnClickPress

(
    const FInputDeviceRay & PressPos
)

Notify Target that click press ocurred

Public function Virtual

void

 

OnClickRelease

(
    const FInputDeviceRay & ReleasePos
)

Notify Target that click release occurred

Public function Virtual

void

 

OnTerminateDragSequence()

Notify Target that click-drag sequence has been explicitly terminated (eg by escape key)

Overridden from IClickBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

IsHitByClick

(
    const FInputDeviceRay & ClickPos
)

Test if target is hit by a click

Public function Virtual

void

 

OnClicked

(
    const FInputDeviceRay & ClickPos
)

Notify Target that click ocurred

Constants

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback