Files
UnrealEngineUWP/Engine/Source/Editor/Cascade/Public/CascadeModule.h
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00

35 lines
1.2 KiB
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
#include "Toolkits/AssetEditorToolkit.h"
class FCascade;
class ICascade;
class UParticleSystem;
extern const FName CascadeAppIdentifier;
/*-----------------------------------------------------------------------------
ICascadeModule
-----------------------------------------------------------------------------*/
class ICascadeModule : public IModuleInterface,
public IHasMenuExtensibility, public IHasToolBarExtensibility
{
public:
/** Creates a new Cascade instance */
virtual TSharedRef<ICascade> CreateCascade(const EToolkitMode::Type Mode, const TSharedPtr< IToolkitHost >& InitToolkitHost, UParticleSystem* ParticleSystem) = 0;
/** Removes the specified instance from the list of open Cascade toolkits */
virtual void CascadeClosed(FCascade* CascadeInstance) = 0;
/** Refreshes the toolkit inspecting the specified particle system */
virtual void RefreshCascade(UParticleSystem* ParticleSystem) = 0;
/** Converts all the modules in the specified particle system to seeded modules */
virtual void ConvertModulesToSeeded(UParticleSystem* ParticleSystem) = 0;
};