ISMPreviewEditorModule¶
Module: SMPreviewEditor
#include <ISMPreviewEditorModule.h>
Inherits from IModuleInterface
Description¶
The public interface to this module
Public Functions¶
Name | |
---|---|
ISMPreviewEditorModule & | Get() |
bool | IsAvailable() |
virtual TSharedPtr< FExtensibilityManager > | GetMenuExtensibilityManager() const =0 |
virtual TSharedPtr< FExtensibilityManager > | GetToolBarExtensibilityManager() const =0 |
virtual USMPreviewObject * | CreatePreviewObject(UObject * Outer) =0 |
virtual USMPreviewObject * | RecreatePreviewObject(USMPreviewObject * OriginalPreviewObject) =0 |
virtual void | StartPreviewSimulation(USMBlueprint * StateMachineBlueprint) =0 |
virtual bool | CanStartPreviewSimulation(USMBlueprint * StateMachineBlueprint) =0 |
virtual void | StopPreviewSimulation(USMBlueprint * StateMachineBlueprint) =0 |
virtual bool | IsPreviewRunning(USMBlueprint * StateMachineBlueprint) =0 |
virtual void | DeleteSelection(TWeakPtr< FSMBlueprintEditor > InBlueprintEditor) =0 |
virtual TSharedRef< SWidget > | CreatePreviewEditorWidget(TWeakPtr< FSMBlueprintEditor > InBlueprintEditor, const FName & InTabID) =0 |
virtual TSharedRef< SWidget > | CreatePreviewViewportWidget(TWeakPtr< FSMBlueprintEditor > InBlueprintEditor) =0 |
virtual TSharedRef< SWidget > | CreateAdvancedSceneDetailsWidget(TWeakPtr< FSMBlueprintEditor > InBlueprintEditor, TSharedPtr< SWidget > InViewportWidget) =0 |
Public Functions Documentation¶
function
Get¶
Singleton-like access to this module's interface. This is just for convenience! Beware of calling this during the shutdown phase, though. Your module might have been unloaded already.
Return: Returns singleton instance, loading the module on demand if needed
function
IsAvailable¶
Checks to see if this module is loaded and ready. It is only valid to call Get() if IsAvailable() returns true.
Return: True if the module is loaded and ready to use
function
GetMenuExtensibilityManager¶
function
GetToolBarExtensibilityManager¶
function
CreatePreviewObject¶
function
RecreatePreviewObject¶
function
StartPreviewSimulation¶
function
CanStartPreviewSimulation¶
function
StopPreviewSimulation¶
function
IsPreviewRunning¶
function
DeleteSelection¶
Deletes the current selection from preview.
function
CreatePreviewEditorWidget¶
virtual TSharedRef< SWidget > CreatePreviewEditorWidget(
TWeakPtr< FSMBlueprintEditor > InBlueprintEditor,
const FName & InTabID
) =0
function
CreatePreviewViewportWidget¶
virtual TSharedRef< SWidget > CreatePreviewViewportWidget(
TWeakPtr< FSMBlueprintEditor > InBlueprintEditor
) =0
function
CreateAdvancedSceneDetailsWidget¶
virtual TSharedRef< SWidget > CreateAdvancedSceneDetailsWidget(
TWeakPtr< FSMBlueprintEditor > InBlueprintEditor,
TSharedPtr< SWidget > InViewportWidget
) =0