UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FItemInfo Struct Reference

#include <STreeView.h>

Public Member Functions

 FItemInfo ()
 
 FItemInfo (TBitArray<> InNeedsVerticalWire, bool InHasChildren, bool InIsLastChild, int32 InParentIndex)
 
int32 GetNestingLevel () const
 

Public Attributes

TBitArray NeedsVerticalWire
 
uint32 bHasChildren: 1
 
uint32 bIsLastChild: 1
 
int32 ParentIndex
 

Detailed Description

Info needed by every visible item in the tree

Constructor & Destructor Documentation

◆ FItemInfo() [1/2]

FItemInfo::FItemInfo ( )
inline

◆ FItemInfo() [2/2]

FItemInfo::FItemInfo ( TBitArray<>  InNeedsVerticalWire,
bool  InHasChildren,
bool  InIsLastChild,
int32  InParentIndex 
)
inline

Member Function Documentation

◆ GetNestingLevel()

int32 FItemInfo::GetNestingLevel ( ) const
inline

Member Data Documentation

◆ bHasChildren

uint32 FItemInfo::bHasChildren

Does this tree item have children?

◆ bIsLastChild

uint32 FItemInfo::bIsLastChild

Is this the last child of its parent? If so, it gets a special kind of wire/connector.

◆ NeedsVerticalWire

TBitArray FItemInfo::NeedsVerticalWire

Flags for whether we need a wire drawn for this level of the tree.

NeedsVerticalWrite.Num() is the nesting level within the tree. e.g. 0 is root-level, 1 is children of root, etc.

◆ ParentIndex

int32 FItemInfo::ParentIndex

Index into the linearized tree of the parent for this item, if any, otherwise INDEX_NONE.


The documentation for this struct was generated from the following file: