Skip to content

Simplygon Subsystem for Python ​

Subsystem Methods ​

NameDescription
export_actors_to_sceneRun an async export job of the given actors using the given export settings.
export_static_mesh_components_to_sceneRun an async export job for the given static mesh components using the given export settings.
export_static_mesh_to_sceneRun an async export job for the given static mesh using the given export settings.
import_scene_as_actorsRun an async import job using the given import settings to spawn imported actors into the given world.
import_scene_as_static_meshesRun an async import job using the given import settings to import Static Meshes into the project.

Subsystem Properties ​

NameDescription
on_export_scene_completedDelegate type for triggering when an export job is completed.
on_import_scene_completedDelegate type for triggering when an import job is completed.

Data structs ​

NameDescription
SubsystemJobResultStruct holding a result coming out of a SimplygonSubsystem job.
ExportSceneResultThe result coming out of an Export[Actors
ImportSceneResultThe result coming out of an ImportScene SimplygonSubsystem job.
SgSceneImportSettingsImport settings to use when importing a Simplygon scene.
SgGeometryImportSettingsImport settings to use when importing a Simplygon geometry data to a FMeshDescription.
SgMaterialImportSettingsImport settings to use when importing a Simplygon material to UMaterialInterface.
SgComponentExportSettingsExport settings to use when exporting a UStaticMeshComponent.
SgGeneralExportSettingsGeneral export settings
SgMeshExportSettingsSettings used to setup Simplygon API scene when exporting an individual UStaticMesh.
SgSceneMeshExportSettingsSettings used to setup Simplygon API scene when exporting a UStaticMesh as part of a scene.
SgSceneExportSettingsExport settings to use when exporting a Simplygon scene.
SgGeometryExportSettingsExport settings for geometry data to use when exporting a Simplygon scene.
SgMaterialExportSettingsExport settings for material data to use when exporting a Simplygon scene.
SgMaterialPropertiesThe material properties that are enabled will get flattened to textures, and exported with the scene.

Enums ​

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

Functions details ​

export_actors_to_scene ​

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.

export_static_mesh_components_to_scene ​

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.

export_static_mesh_to_scene ​

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.

import_scene_as_actors ​

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.

import_scene_as_static_meshes ​

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.

Properties details ​

on_export_scene_completed ​

Delegate type for triggering when an export job is completed.

on_import_scene_completed ​

Delegate type for triggering when an import job is completed.

Data structs details ​

SubsystemJobResult ​

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.

ExportSceneResult ​

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

ImportSceneResult ​

The result coming out of an ImportScene SimplygonSubsystem job.

SgSceneImportSettings ​

Import settings to use when importing a Simplygon scene.

SgGeometryImportSettings ​

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

SgMaterialImportSettings ​

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

SgComponentExportSettings ​

Export settings to use when exporting a UStaticMeshComponent.

SgGeneralExportSettings ​

General export settings

SgMeshExportSettings ​

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

SgSceneMeshExportSettings ​

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

SgSceneExportSettings ​

Export settings to use when exporting a Simplygon scene.

SgGeometryExportSettings ​

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

SgMaterialExportSettings ​

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

SgMaterialProperties ​

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

Enums details ​

SgSeparateMaterialsMode ​

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

SgSourceModelExportMode ​

This enum specifies which source model to export.