35 lines
900 B
C++
35 lines
900 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "IMeshPaintMode.h"
|
|
#include "Templates/SharedPointer.h"
|
|
|
|
class SClothPaintTab;
|
|
class FClothPainter;
|
|
class IPersonaToolkit;
|
|
|
|
class FClothingPaintEditMode : public IMeshPaintEdMode
|
|
{
|
|
public:
|
|
FClothingPaintEditMode();
|
|
virtual ~FClothingPaintEditMode();
|
|
|
|
virtual void Initialize() override;
|
|
virtual bool UsesToolkits() const override { return false; }
|
|
virtual TSharedPtr<class FModeToolkit> GetToolkit() override;
|
|
|
|
void SetPersonaToolKit(class TSharedPtr<IPersonaToolkit> InToolkit);
|
|
void SetupClothPaintTab(TSharedPtr<SClothPaintTab> InClothPaintTab);
|
|
|
|
virtual void Enter() override;
|
|
virtual void Exit() override;
|
|
|
|
protected:
|
|
|
|
TSharedPtr<FClothPainter> ClothPainter;
|
|
|
|
class IPersonaPreviewScene* GetAnimPreviewScene() const;
|
|
class TWeakPtr<IPersonaToolkit> PersonaToolkit;
|
|
TWeakPtr<SClothPaintTab> ClothPaintTab;
|
|
}; |