Skip to content

ISMContentEditorModule

Module: SMContentEditor

#include <ISMContentEditorModule.h>

Inherits from IModuleInterface

Description

class ISMContentEditorModule;

The public interface to this module

Public Functions

Name
ISMContentEditorModule & Get()
bool IsAvailable()
FORCEINLINE void AddContentToProject() const
virtual bool IsContentCreationEnabled() const =0
virtual TSharedPtr< FExtensibilityManager > GetMenuExtensibilityManager() const =0
virtual TSharedPtr< FExtensibilityManager > GetToolBarExtensibilityManager() const =0

Public Functions Documentation

function Get

static inline ISMContentEditorModule & 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

static inline bool 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 AddContentToProject

inline FORCEINLINE void AddContentToProject() const

Trigger content installation dialogue.


function IsContentCreationEnabled

virtual bool IsContentCreationEnabled() const =0

Checks the CVar status for if content can be created.


function GetMenuExtensibilityManager

virtual TSharedPtr< FExtensibilityManager > GetMenuExtensibilityManager() const =0

function GetToolBarExtensibilityManager

virtual TSharedPtr< FExtensibilityManager > GetToolBarExtensibilityManager() const =0