// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" enum class EPoseSearchMirrorOption; class FUICommandList; class ITableRow; class STableViewBase; namespace UE::PoseSearch { class FDatabaseViewModel; class SDatabaseAssetTree; class FDatabaseAssetTreeNode : public TSharedFromThis { public: FDatabaseAssetTreeNode(int32 InSourceAssetIdx, const TSharedRef& InEditorViewModel); TSharedRef MakeTreeRowWidget(const TSharedRef& InOwnerTable, TSharedRef InDatabaseAssetNode, TSharedRef InCommandList, TSharedPtr InHierarchy); bool IsRootMotionEnabled() const; bool IsLooping() const; EPoseSearchMirrorOption GetMirrorOption() const; int32 SourceAssetIdx = INDEX_NONE; TSharedPtr Parent; TArray> Children; TWeakPtr EditorViewModel; }; }