Skip to content

Class FCelAssetTreeNode

ClassList > FCelAssetTreeNode

More...

  • #include <CelAssetTreeNode.h>

Inherits the following classes: TSharedFromThis< FCelAssetTreeNode >

Public Attributes

Type Name
TArray< TSharedPtr< FCelAssetTreeNode > > Children
TWeakPtr< FCelAssetTreeNode > Parent

Public Functions

Type Name
FCelAssetTreeNode (const FString & InDisplayName, int32 InCelIndex=INDEX_NONE)
FCelAssetTreeNode (int32 InCelIndex, const FString & InDisplayName, bool bInHasProblem=false)
TSharedPtr< FCelAssetTreeNode > FindOrCreateChild (const FString & ChildName, int32 ChildCelIndex=INDEX_NONE)
int32 GetCelIndex () const
FString GetDisplayName () const
bool IsCategory () const
bool IsCel () const
bool IsValid () const
void SetCelIndex (int32 InCelIndex)

Detailed Description

Node for the cel asset tree view. Can represent either a category (intermediate node) or a cel (leaf node).

Public Attributes Documentation

variable Children

TArray<TSharedPtr<FCelAssetTreeNode> > FCelAssetTreeNode::Children;

variable Parent

TWeakPtr<FCelAssetTreeNode> FCelAssetTreeNode::Parent;

Public Functions Documentation

function FCelAssetTreeNode [1/2]

inline FCelAssetTreeNode::FCelAssetTreeNode (
    const FString & InDisplayName,
    int32 InCelIndex=INDEX_NONE
) 

Category constructor


function FCelAssetTreeNode [2/2]

inline FCelAssetTreeNode::FCelAssetTreeNode (
    int32 InCelIndex,
    const FString & InDisplayName,
    bool bInHasProblem=false
) 

Cel node constructor, requires an index


function FindOrCreateChild

TSharedPtr< FCelAssetTreeNode > FCelAssetTreeNode::FindOrCreateChild (
    const FString & ChildName,
    int32 ChildCelIndex=INDEX_NONE
) 

function GetCelIndex

inline int32 FCelAssetTreeNode::GetCelIndex () const

function GetDisplayName

inline FString FCelAssetTreeNode::GetDisplayName () const

function IsCategory

inline bool FCelAssetTreeNode::IsCategory () const

function IsCel

inline bool FCelAssetTreeNode::IsCel () const

function IsValid

inline bool FCelAssetTreeNode::IsValid () const

function SetCelIndex

inline void FCelAssetTreeNode::SetCelIndex (
    int32 InCelIndex
) 


The documentation for this class was generated from the following file C:/Users/wistf/Unreal Projects/NightSkyEngine/Plugins/NightSkyEngine/Source/CollisionEditor/Public/CelAssetTreeNode.h