FCurveEditorTreeItem

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

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

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

Type Name Description
void DestroyCurves ( FCurveEditor* CurveEditor ) Destroy any previously constructed curve models that this tree item owns
void DestroyUnpinnedCurves ( FCurveEditor* CurveEditor ) Destroy any previously constructed unpinned curve models that this tree item owns
TArrayView< ... GetChildren () Access the sorted list of children for this item
TArrayView< ... GetCurves () Get all the curves currently represented by this tree item.
FCurveEditor... GetID ()  
TSharedPtr< ... GetItem () Access the user-specified implementation for this tree item
TArrayView< ... GetOrCreateCurves ( FCurveEditor* CurveEditor ) Retrieve all the curves for this tree item, creating them through ICurveEditorTreeItem::CreateCurveModels if there are none
FCurveEditor... GetParentID ()  
void SetStrongItem ( TSharedPtr< ICurveEditorTreeItem > ... ) Overwrite this item's implementation, holding a strong reference to it for the lifetime of this tree item.
void SetWeakItem ( TWeakPtr< ICurveEditorTreeItem > In... ) Overwrite this item's implementation with an externally held implementation to this tree item.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library