SCurveEditorViewStacked

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

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

CurveEditor

Header

/Engine/Source/Editor/CurveEditor/Public/Views/SCurveEditorViewStacked.h

Include

#include "Views/SCurveEditorViewStacked.h"

Syntax

class SCurveEditorViewStacked : public 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

Name Description

Protected variable

float

 

StackedHeight

Stacked height per curve

Protected variable

float

 

StackedPadding

Stacked padding per curve

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs,
    TWeakPtr< FCurveEditor > InCurveEdi...
)

Protected function Virtual Const

void

 

DrawBufferedCurves

(
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 BaseLayerId,
    ESlateDrawEffect DrawEffects
)

Protected function Virtual Const

void

 

DrawLabels

(
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 BaseLayerId,
    ESlateDrawEffect DrawEffects
)

Protected function Virtual Const

void

 

DrawViewGrids

(
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 BaseLayerId,
    ESlateDrawEffect DrawEffects
)

Overridden from SInteractiveCurveEditorView

Name Description

Protected function Virtual Const

void

 

PaintView

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

Overridden from SCurveEditorView

Name Description

Protected function Virtual Const

void

 

GetGridLinesY

(
    TSharedRef< const FCurveEditor > Cu...,
    TArray< float >& MajorGridLines,
    TArray< float >& MinorGridLines,
    TArray< FText >* MajorGridLabe...
)

Public function Virtual Const

bool

 

IsValueSnapEnabled()

Tools should use vertical snapping since grid lines to snap to will usually be visible

Overridden from SWidget

Name Description

Protected function Virtual Const

FVector2D

 

ComputeDesiredSize

(
    float LayoutScaleMultiplier
)

Compute the ideal size necessary to display this widget.

Protected function Virtual

void

 

Tick

(
    const FGeometry& AllottedGeometry,
    const double InCurrentTime,
    const float InDeltaTime
)

Ticks this widget with Geometry.

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