FSplineMeshComponentVisualizer

SplineMeshComponent visualizer/edit functionality

Unreal Engine C++ API Reference > Editor > ComponentVisualizers

Inheritance Hierarchy

References

   
Module ComponentVisualizers
Header /Engine/Source/Editor/ComponentVisualizers/Public/SplineMeshComponentVisualizer.h
Include #include "SplineMeshComponentVisualizer.h"

Syntax

class FSplineMeshComponentVisualizer : public [FComponentVisualizer](API\Editor\UnrealEd\FComponentVisualizer)  

Remarks

SplineMeshComponent visualizer/edit functionality

Variables

Type Name Description
int32 SelectedKey Index of the key we selected
int32 SelectedTangentHandle Index of tangent handle we have selected
ESelectedTangen... SelectedTangentHandleType The type of the selected tangent handle
FComponentPrope... SplineMeshPropertyPath Property path from the parent actor to the component

Constructors

Type Name Description
  FSplineMeshComponentVisualizer ()  

Destructors

Type Name Description
  ~FSplineMeshComponentVisualizer ()  

Functions

Type Name Description
USplineMeshC... GetEditedSplineMeshComponent () Get the spline component we are currently editing
FInterpCurve... GetSpline ( const USplineMeshComponent* Sp... ) Get a spline object for the specified spline mesh component
void NotifyComponentModified () Syncs changes made by the visualizer in the actual component

Overridden from FComponentVisualizer

Type Name Description
void DrawVisualization ( const UActorComponent* Compone..., const FSceneView* View, FPrimitiveDrawInterface* PDI ) Draw visualization for the supplied component
void EndEditing ()  
TSharedPtr< ... GenerateContextMenu ()  
bool GetCustomInputCoordinateSystem ( const FEditorViewportClient* V..., FMatrix& OutMatrix )  
bool GetWidgetLocation ( const FEditorViewportClient* V..., FVector& OutLocation )  
bool HandleInputDelta ( FEditorViewportClient* Viewpor..., FViewport* Viewport, FVector& DeltaTranslate, FRotator& DeltaRotate, FVector& DeltaScale )  
bool HandleInputKey ( FEditorViewportClient* Viewpor..., FViewport* Viewport, FKey Key, EInputEvent Event )  
void OnRegister ()  
bool VisProxyHandleClick ( FEditorViewportClient* InViewp..., HComponentVisProxy* VisProxy, const FViewportClick& Click )  

Classes

Type Name Description
Protected struct ESelectedTangentHandle  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library