FSplineMeshComponentVisualizer

SplineMeshComponent visualizer/edit functionality

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

FComponentVisualizer

FSplineMeshComponentVisualizer

References

Module

ComponentVisualizers

Header

/Engine/Source/Editor/ComponentVisualizers/Public/SplineMeshComponentVisualizer.h

Include

#include "SplineMeshComponentVisualizer.h"

Syntax

class FSplineMeshComponentVisualizer : public FComponentVisualizer

Remarks

SplineMeshComponent visualizer/edit functionality

Variables

Name Description

Protected variable

int32

 

SelectedKey

Index of the key we selected

Protected variable

int32

 

SelectedTangentHandle

Index of tangent handle we have selected

Protected variable

ESelectedTangen...

 

SelectedTangentHandleType

The type of the selected tangent handle

Protected variable

FComponentPrope...

 

SplineMeshPropertyPath

Property path from the parent actor to the component

Constructors

Destructors

Functions

Name Description

Public function Const

USplineMeshC...

 

GetEditedSplineMeshComponent()

Get the spline component we are currently editing

Protected function Const

FInterpCurve...

 

GetSpline

(
    const USplineMeshComponent* Sp...
)

Get a spline object for the specified spline mesh component

Protected function

void

 

NotifyComponentModified()

Syncs changes made by the visualizer in the actual component

Overridden from FComponentVisualizer

Name Description

Public function Virtual

void

 

DrawVisualization

(
    const UActorComponent* Compone...,
    const FSceneView* View,
    FPrimitiveDrawInterface* PDI
)

Draw visualization for the supplied component

Public function Virtual

void

 

EndEditing()

Public function Virtual Const

TSharedPtr< ...

 

GenerateContextMenu()

Public function Virtual Const

bool

 

GetCustomInputCoordinateSystem

(
    const FEditorViewportClient* V...,
    FMatrix& OutMatrix
)

Public function Virtual Const

bool

 

GetWidgetLocation

(
    const FEditorViewportClient* V...,
    FVector& OutLocation
)

Public function Virtual

bool

 

HandleInputDelta

(
    FEditorViewportClient* Viewpor...,
    FViewport* Viewport,
    FVector& DeltaTranslate,
    FRotator& DeltaRotate,
    FVector& DeltaScale
)

Public function Virtual

bool

 

HandleInputKey

(
    FEditorViewportClient* Viewpor...,
    FViewport* Viewport,
    FKey Key,
    EInputEvent Event
)

Public function Virtual

void

 

OnRegister()

Public function Virtual

bool

 

VisProxyHandleClick

(
    FEditorViewportClient* InViewp...,
    HComponentVisProxy* VisProxy,
    const FViewportClick& Click
)

Classes

Name

Description

Protected struct

ESelectedTangentHandle

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