You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
30 lines
804 B
C++
30 lines
804 B
C++
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
class FEditableSkeleton;
|
|
|
|
/** Central registry of skeleton trees */
|
|
class FSkeletonTreeManager
|
|
{
|
|
public:
|
|
/** Singleton access */
|
|
static FSkeletonTreeManager& Get();
|
|
|
|
/** Create a skeleton tree for the requested skeleton */
|
|
TSharedRef<class ISkeletonTree> CreateSkeletonTree(class USkeleton* InSkeleton, const struct FSkeletonTreeArgs& InSkeletonTreeArgs);
|
|
|
|
/** Edit a USkeleton via FEditableSkeleton */
|
|
TSharedRef<class FEditableSkeleton> CreateEditableSkeleton(class USkeleton* InSkeleton);
|
|
|
|
private:
|
|
/** Hidden constructor */
|
|
FSkeletonTreeManager() {}
|
|
|
|
private:
|
|
/** Map from skeletons to editable skeletons */
|
|
TMap<class USkeleton*, TWeakPtr<class FEditableSkeleton>> EditableSkeletons;
|
|
};
|