Skip to content

Simplygon Subsystem for C++

Subsystem Methods

NameDescription
ExportActorsToSceneRun an async export job of the given actors using the given export settings.
ExportStaticMeshComponentsToSceneRun an async export job for the given static mesh components using the given export settings.
ExportStaticMeshToSceneRun an async export job for the given static mesh using the given export settings.
ImportSceneAsActorsRun an async import job using the given import settings to spawn imported actors into the given world.
ImportSceneAsStaticMeshesRun an async import job using the given import settings to import Static Meshes into the project.
GetNativeOnExportSceneCompletedReturns handle to delegate that will get triggered when an export job is completed.
GetNativeOnImportSceneCompletedReturns handle to delegate that will get triggered when an import job is completed.

Subsystem Properties

NameDescription
OnExportSceneCompletedDelegate type for triggering when an export job is completed.
OnImportSceneCompletedDelegate type for triggering when an import job is completed.

Data structs

NameDescription
FSubsystemJobResultStruct holding a result coming out of a SimplygonSubsystem job.
FExportSceneResultThe result coming out of an Export[Actors
FImportSceneResultThe result coming out of an ImportScene SimplygonSubsystem job.
FSgSceneImportSettingsImport settings to use when importing a Simplygon scene.
FSgGeometryImportSettingsImport settings to use when importing a Simplygon geometry data to a FMeshDescription.
FSgMaterialImportSettingsImport settings to use when importing a Simplygon material to UMaterialInterface.
FSgComponentExportSettingsExport settings to use when exporting a UStaticMeshComponent.
FSgGeneralExportSettingsGeneral export settings
FSgMeshExportSettingsSettings used to setup Simplygon API scene when exporting an individual UStaticMesh.
FSgSceneMeshExportSettingsSettings used to setup Simplygon API scene when exporting a UStaticMesh as part of a scene.
FSgSceneExportSettingsExport settings to use when exporting a Simplygon scene.
FSgGeometryExportSettingsExport settings for geometry data to use when exporting a Simplygon scene.
FSgMaterialExportSettingsExport settings for material data to use when exporting a Simplygon scene.
FSgMaterialPropertiesThe material properties that are enabled will get flattened to textures, and exported with the scene.

Enums

NameDescription
ESgSeparateMaterialsModeThe material separation mode to use when there is unique data sampled in a material.
ESgSourceModelExportModeThis enum specifies which source model to export.

Functions details

ExportActorsToScene

Initiates an asynchronous export job for the specified actors using the provided export settings. To retrieve the results, you must bind a completion callback:

  • Python/Blueprints: Use OnExportSceneCompleted
  • C++: Use GetNativeOnExportSceneCompleted

The callback will be triggered once the export job finishes.

ExportStaticMeshComponentsToScene

Initiates an asynchronous export job for the specified components using the provided export settings. To retrieve the results, you must bind a completion callback:

  • Python/Blueprints: Use OnExportSceneCompleted
  • C++: Use GetNativeOnExportSceneCompleted

The callback will be triggered once the export job finishes.

ExportStaticMeshToScene

Initiates an asynchronous export job for the specified Static Mesh using the provided export settings. To retrieve the results, you must bind a completion callback:

  • Python/Blueprints: Use OnExportSceneCompleted
  • C++: Use GetNativeOnExportSceneCompleted

The callback will be triggered once the export job finishes.

ImportSceneAsActors

Initiates an asynchronous import job to load a Simplygon scene and spawn its actors into the specified world using the provided import settings. To retrieve results, bind a completion callback:

  • Python/Blueprints: Use OnImportSceneCompleted
  • C++: Use GetNativeOnImportSceneCompleted

The callback is triggered when the import job finishes.

ImportSceneAsStaticMeshes

Initiates an asynchronous import job to load a Simplygon scene and convert its contents into static meshes using the specified import settings. To retrieve results, you must bind a completion callback:

  • Python/Blueprints: Use OnImportSceneCompleted
  • C++: Use GetNativeOnImportSceneCompleted

The callback is triggered when the import job finishes.

GetNativeOnExportSceneCompleted

Returns handle to delegate that will get triggered when an export job is completed.

GetNativeOnImportSceneCompleted

Returns handle to delegate that will get triggered when an import job is completed.

Properties details

OnExportSceneCompleted

Delegate type for triggering when an export job is completed.

OnImportSceneCompleted

Delegate type for triggering when an import job is completed.

Data structs details

FSubsystemJobResult

Struct holding a result coming out of a SimplygonSubsystem job. FSubsystemJobResult is the base abstract class holding everything common between the different types of jobs.

FExportSceneResult

The result coming out of an Export[Actors|StaticMeshComponents|StaticMesh]ToScene SimplygonSubsystem job.

FImportSceneResult

The result coming out of an ImportScene SimplygonSubsystem job.

FSgSceneImportSettings

Import settings to use when importing a Simplygon scene.

FSgGeometryImportSettings

Import settings to use when importing a Simplygon geometry data to a FMeshDescription.

FSgMaterialImportSettings

Import settings to use when importing a Simplygon material to UMaterialInterface.

FSgComponentExportSettings

Export settings to use when exporting a UStaticMeshComponent.

FSgGeneralExportSettings

General export settings

FSgMeshExportSettings

Settings used to setup Simplygon API scene when exporting an individual UStaticMesh.

FSgSceneMeshExportSettings

Settings used to setup Simplygon API scene when exporting a UStaticMesh as part of a scene.

FSgSceneExportSettings

Export settings to use when exporting a Simplygon scene.

FSgGeometryExportSettings

Export settings for geometry data to use when exporting a Simplygon scene.

FSgMaterialExportSettings

Export settings for material data to use when exporting a Simplygon scene.

FSgMaterialProperties

The material properties that are enabled will get flattened to textures, and exported with the scene.

Enums details

ESgSeparateMaterialsMode

The material separation mode to use when there is unique data sampled in a material.

ESgSourceModelExportMode

This enum specifies which source model to export.