SCurveEditorViewStacked

A Normalized curve view supporting one or more curves with their own screen transform that normalizes the vertical curve range to [-1,1]

Unreal Engine C++ API Reference > Editor > CurveEditor > Views

Inheritance Hierarchy

References

   
Module CurveEditor
Header /Engine/Source/Editor/CurveEditor/Public/Views/SCurveEditorViewStacked.h
Include #include "Views/SCurveEditorViewStacked.h"

Syntax

class SCurveEditorViewStacked : public [SInteractiveCurveEditorView](API\Editor\CurveEditor\Views\SInteractiveCurveEditorView)  

Remarks

A Normalized curve view supporting one or more curves with their own screen transform that normalizes the vertical curve range to [-1,1]

Variables

Type Name Description
float StackedHeight Stacked height per curve
float StackedPadding Stacked padding per curve

Functions

Type Name Description
void Construct ( const FArguments& InArgs, TWeakPtr< FCurveEditor > InCurveEdi... )  
void DrawBufferedCurves ( const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawEl..., int32 BaseLayerId, ESlateDrawEffect DrawEffects )  
void DrawLabels ( const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawEl..., int32 BaseLayerId, ESlateDrawEffect DrawEffects )  
void DrawViewGrids ( const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawEl..., int32 BaseLayerId, ESlateDrawEffect DrawEffects )  

Overridden from SInteractiveCurveEditorView

Type Name Description
void PaintView ( const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawEl..., int32 BaseLayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled )  

Overridden from SCurveEditorView

Type Name Description
void GetGridLinesY ( TSharedRef< const FCurveEditor > Cu..., TArray< float >& MajorGridLines, TArray< float >& MinorGridLines, TArray< FText >* MajorGridLabe... )  
bool IsValueSnapEnabled () Tools should use vertical snapping since grid lines to snap to will usually be visible
void UpdateViewToTransformCurves ( double InputMin, double InputMax ) Function to make sure to update the view to the transform curves, we need to do this before we cache

Overridden from SWidget

Type Name Description
FVector2D ComputeDesiredSize ( float LayoutScaleMultiplier ) Compute the ideal size necessary to display this widget.
void Tick ( const FGeometry& AllottedGeometry, const double InCurrentTime, const float InDeltaTime ) Ticks this widget with Geometry.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library