IDatasmithContentEditorModule

The public interface of the DatasmithContent module

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

IModuleInterface

IDatasmithContentEditorModule

References

Module

DatasmithContentEditor

Header

/Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContentEditor/Public/DatasmithContentEditorModule.h

Include

#include "DatasmithContentEditorModule.h"

Syntax

class IDatasmithContentEditorModule : public IModuleInterface

Remarks

The public interface of the DatasmithContent module

Functions

Name Description

Public function Const

bool

 

BrowseExternalSourceUri

(
    FName UriScheme,
    const FString& DefaultUri,
    FString& OutSourceUri,
    FString& OutFallbackFilepath
)

Public function Static

IDatasmithCo...

 

Get()

Singleton-like access to IDatasmithContentEditorModule

Public function

TArray< FImp...

 

GetDatasmithImporters()

Public function Const

FOnCreateDat...

 

GetDatasmithSceneEditorHandler()

Public function Const

FOnSpawnData...

 

GetSpawnDatasmithSceneActorsHandler()

Public function Const

TOptional< T...

 

GetSupportedUriScheme()

Public function Const

TOptional< b...

 

IsAssetAutoReimportAvailable

(
    UObject* Asset
)

Public function Const

TOptional< b...

 

IsAssetAutoReimportEnabled

(
    UObject* Asset
)

Public function Static

bool

 

IsAvailable()

Checks to see if this module is loaded and ready.

Public function

void

 

RegisterBrowseExternalSourceUriHandler

(
    FOnBrowseExternalSourceUri&& Brows...
)

Public function

void

 

RegisterDatasmithImporter

(
    const void* Registrar,
    const FImporterDescription& Import...
)

Delegate to creation of the datasmith scene editor.

Public function

void

 

RegisterDatasmithSceneEditorHandler

(
    FOnCreateDatasmithSceneEditor InCre...
)

Delegate to creation of the datasmith scene editor.

Public function

void

 

RegisterGetSupportedUriSchemeHandler

(
    FOnGetSupportedUriSchemes&& GetSup...
)

Public function

void

 

RegisterIsAssetAutoReimportAvailableHandler

Delegate returning if the AutoReimport feature is available for a given asset.

Public function

void

 

RegisterIsAssetAutoReimportEnabledHandler

(
    FOnIsAssetAutoReimportEnabled&& Is...
)

Delegate returning if the AutoReimport is currently active for a given asset.

Public function

void

 

RegisterSetAssetAutoReimportHandler

(
    FOnSetAssetAutoReimport&& SetAsset...
)

Delegate to enable or disable AutoReimport of an asset.

Public function

void

 

RegisterSpawnDatasmithSceneActorsHandler

(
    FOnSpawnDatasmithSceneActors SpawnA...
)

Delegate to spawn the actors related to a Datasmith scene.

Public function Const

TOptional< b...

 

SetAssetAutoReimport

(
    UObject* Asset,
    bool bEnabled
)

Public function

void

 

UnregisterBrowseExternalSourceUriHandler

(
    FDelegateHandle InHandle
)

Public function

void

 

UnregisterDatasmithImporter

(
    const void* Registrar
)

Public function

void

 

UnregisterDatasmithSceneEditorHandler

(
    FOnCreateDatasmithSceneEditor InCre...
)

Public function

void

 

UnregisterGetSupportedUriSchemeHandler

(
    FDelegateHandle InHandle
)

Public function

void

 

UnregisterIsAssetAutoReimportAvailableHandler

(
    FDelegateHandle InHandle
)

Public function

void

 

UnregisterIsAssetAutoReimportEnabledHandler

(
    FDelegateHandle InHandle
)

Public function

void

 

UnregisterSetAssetAutoReimportHandler

(
    FDelegateHandle InHandle
)

Public function

void

 

UnregisterSpawnDatasmithSceneActorsHandler

(
    FOnSpawnDatasmithSceneActors SpawnA...
)

Constants

Name

Description

DatasmithAssetCategoryBit

Category bit associated with Datasmith related content