FCurveEditorTreeItem

Concrete type used as a tree item for the curve editor.

Windows
MacOS
Linux

References

Module

CurveEditor

Header

/Engine/Source/Editor/CurveEditor/Public/Tree/CurveEditorTree.h

Include

#include "Tree/CurveEditorTree.h"

Syntax

struct FCurveEditorTreeItem

Remarks

Concrete type used as a tree item for the curve editor. No need to derive from this type - custom behaviour is implemented through ICurveEditorTreeItem. Implemented in this way to ensure that all hierarchical information can be reasoned about within the curve editor itself, and allow for mixing of tree item types from any usage domain.

Functions

Name Description

Public function

void

 

DestroyCurves

(
    FCurveEditor* CurveEditor
)

Destroy any previously constructed curve models that this tree item owns

Public function

void

 

DestroyUnpinnedCurves

(
    FCurveEditor* CurveEditor
)

Destroy any previously constructed unpinned curve models that this tree item owns

Public function Const

TArrayView< ...

 

GetChildren()

Access the sorted list of children for this item

Public function Const

TArrayView< ...

 

GetCurves()

Get all the curves currently represented by this tree item.

Public function Const

FCurveEditor...

 

GetID()

Public function Const

TSharedPtr< ...

 

GetItem()

Access the user-specified implementation for this tree item

Public function

TArrayView< ...

 

GetOrCreateCurves

(
    FCurveEditor* CurveEditor
)

Retrieve all the curves for this tree item, creating them through ICurveEditorTreeItem::CreateCurveModels if there are none

Public function Const

FCurveEditor...

 

GetParentID()

Public function

void

 

SetStrongItem

(
    TSharedPtr< ICurveEditorTreeItem > ...
)

Overwrite this item's implementation, holding a strong reference to it for the lifetime of this tree item.

Public function

void

 

SetWeakItem

(
    TWeakPtr< ICurveEditorTreeItem > In...
)

Overwrite this item's implementation with an externally held implementation to this tree item.

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