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.
CreateSceneContextCreate an empty managed Simplygon scene context.
ExportStaticMeshComponentsToSceneContextExport static mesh components into a managed scene.
CaptureComponentsUsingPreviewWorldToSceneContextCapture preview copies and append the resources to a managed scene.
CaptureComponentsUsingExistingWorldToSceneContextCapture source-world components into a managed scene.
SaveSceneContextToFileSave a managed scene to a Simplygon scene file.
LoadSceneContextFromFileLoad a Simplygon scene file into a new managed context.
CreateLandscapeSceneMeshDescriptionsCreate reusable scene mesh descriptions from intersecting landscape geometry.
AppendSceneMeshDescriptionsToSceneContextAppend reusable scene mesh descriptions to a managed scene.
CaptureComponentsCapture preview copies without appending the images to a managed scene.
CaptureComponentsInExistingWorldCapture source-world components without appending images to a managed scene.
GenerateOBBCamerasForComponentsGenerate OBB-distributed cameras for component capture.
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.
GetNativeOnCaptureComponentsCompletedReturns the native completion delegate for component capture jobs.
GetNativeOnExportToSceneContextCompletedReturns the native completion delegate for managed component-export jobs.
GetNativeOnCaptureToSceneContextCompletedReturns the native completion delegate for managed component-capture jobs.
GetNativeOnSaveSceneContextCompletedReturns the native completion delegate for managed scene-save jobs.
GetNativeOnLoadSceneContextCompletedReturns the native completion delegate for managed scene-load jobs.
GetNativeOnCreateLandscapeSceneMeshDescriptionsCompletedReturns the native completion delegate for landscape scene-mesh-description jobs.
GetNativeOnAppendSceneMeshDescriptionsToSceneContextCompletedReturns the native completion delegate for managed scene-mesh-description append jobs.

Subsystem Properties ​

NameDescription
OnExportSceneCompletedDelegate type for triggering when an export job is completed.
OnImportSceneCompletedDelegate type for triggering when an import job is completed.
OnCaptureComponentsCompletedCalled when a component capture job is completed.
OnExportToSceneContextCompletedCalled when components have been exported to a managed scene.
OnCaptureToSceneContextCompletedCalled when captured resources have been appended to a managed scene.
OnSaveSceneContextCompletedCalled after a managed scene save finishes.
OnLoadSceneContextCompletedCalled after a scene file is loaded into a managed context.
OnCreateLandscapeSceneMeshDescriptionsCompletedCalled after reusable landscape scene mesh descriptions have been created.
OnAppendSceneMeshDescriptionsToSceneContextCompletedCalled after scene mesh descriptions have been appended to a managed scene.

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.
FSubsystemCameraResultResult of synchronous OBB camera generation through SimplygonSubsystem.
FCapturedSceneImageOne captured material channel produced from one camera.
FCapturedSceneDataAll requested channel images captured from one camera.
FCaptureComponentsResultResult of a preview-world or existing-world component capture job.
FExportToSceneContextResultResult of exporting components to an existing managed scene.
FCaptureToSceneContextResultResult of appending captured resources to a managed scene.
FSaveSceneContextResultResult of saving a managed scene to disk.
FLoadSceneContextResultResult of loading a scene file into a managed scene context.
FCreateLandscapeSceneMeshDescriptionsResultResult of creating reusable landscape scene mesh descriptions.
FAppendSceneMeshDescriptionsToSceneContextResultResult of appending scene mesh descriptions to a managed scene.
FSgSceneMeshDescriptionImmutable Unreal geometry and placement information used to create a Simplygon scene-mesh node. The native mesh payload is shared between copies and is not exposed as a reflected property.
FSgLandscapeGeometryExportSettingsSettings controlling landscape discovery and conversion into reusable scene mesh descriptions.
FSgAppendSceneGeometrySettingsSettings controlling how scene mesh descriptions are converted and appended to a managed scene.
FSCCameraSettingsDefines one perspective or orthographic camera used by Scene Capture.
FSCCaptureSettingsControls the cameras and image resources produced by one Scene Capture operation.
FSCSceneSettingsControls the isolated preview world and its lighting. Ignored by existing-world capture, including the force-LOD-0 option.
FSCCaptureRequestSettingsComplete source-independent configuration for one capture request.
FSCOBBCameraGenerationSettingsControls OBB camera distribution around source component bounds.
FSgCaptureComponentsToSceneSettingsSettings for capturing components and appending the captured resources to a managed scene.
FSgImportDestinationSettingsSpecifies where imported objects are stored and optionally overrides their base asset name.
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 for the geometry source, exported attributes and materials of a static mesh.
FSgSceneMeshExportSettingsSettings used to setup a Simplygon API scene when exporting a UStaticMesh.
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.
ESgMeshExportModeSelects the mesh representation to export: source model, Hi-Res with fallback, or built render data.
ESgMaterialExportModeControls material assignments and references independently of optional texture baking.
ESgImportDestinationModeThis enum specifies how imported objects are stored.
ESgBufferCaptureTypeMaterial channels that can be requested from Scene Capture.
ESgCameraProjectionModeProjection used by scene-capture and generated OBB cameras.
ESgCapturedImageColorSpaceColor space used to encode captured 8-bit image values.

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.

CreateSceneContext ​

Creates an empty manager-owned Simplygon scene. This subsystem method must be called on the game thread. Retain the returned scene context while asynchronous jobs use it, then release it for deterministic cleanup. Native worker code can use FSimplygonSceneManager::CreateSceneContext for any-thread creation.

ExportStaticMeshComponentsToSceneContext ​

Starts an asynchronous job that exports components into a managed scene. Existing scene resources are preserved, and the caller must ensure they are compatible with the export settings. A context accepts one component-export attempt. Failures or cancellations after the export transaction begins consume the attempt; cancellation while waiting to begin leaves the context reusable. Bind OnExportToSceneContextCompleted, or GetNativeOnExportToSceneContextCompleted in C++, and match the callback JobID to the returned ID.

CaptureComponentsUsingPreviewWorldToSceneContext ​

Asynchronously captures preview copies and appends cameras, textures and renders to a managed scene. Preview-world scene settings control lighting and LOD. Existing camera names in the destination selection set are skipped. Results use OnCaptureToSceneContextCompleted (GetNativeOnCaptureToSceneContextCompleted in C++); filter callbacks by the returned job ID.

Replaces CaptureComponentsToSceneContext with unchanged preview-world behavior. See Capture world and migration.

CaptureComponentsUsingExistingWorldToSceneContext ​

Asynchronously captures selected components in their source world and appends cameras, textures and renders to a managed scene. All preview-world scene settings, including the force-LOD-0 option, are ignored. Serialize source access, keep components registered and retain LOD/draw-distance overrides until completion. Existing camera names in the destination selection set are skipped. Results use OnCaptureToSceneContextCompleted (GetNativeOnCaptureToSceneContextCompleted in C++); filter callbacks by the returned job ID.

See Source-state and cancellation rules.

SaveSceneContextToFile ​

Starts an asynchronous job that saves a managed scene to disk. Bind the matching save completion delegate and filter by JobID. Cancellation is observed while waiting for the context transaction, but cannot interrupt the Simplygon SDK serializer after serialization begins.

LoadSceneContextFromFile ​

Starts an asynchronous job that loads a Simplygon scene file into a new managed context. The context is returned through the load completion result.

CreateLandscapeSceneMeshDescriptions ​

Starts an asynchronous job that creates reusable scene mesh descriptions from landscape geometry intersecting the requested world-space bounds. Only landscape proxies with Use Landscape for Culling Invisible HLOD Vertices enabled contribute geometry. Bind OnCreateLandscapeSceneMeshDescriptionsCompleted, or GetNativeOnCreateLandscapeSceneMeshDescriptionsCompleted in C++, and match the callback JobID to the returned ID.

AppendSceneMeshDescriptionsToSceneContext ​

Starts an asynchronous job that converts scene mesh descriptions into Simplygon scene meshes, appends them to a managed scene and optionally adds their GUIDs to a selection set. Bind OnAppendSceneMeshDescriptionsToSceneContextCompleted, or GetNativeOnAppendSceneMeshDescriptionsToSceneContextCompleted in C++, and match the callback JobID to the returned ID.

CaptureComponents ​

Asynchronously captures preview copies without appending images to a managed scene. Preview-world scene settings control lighting and LOD. Results use OnCaptureComponentsCompleted (GetNativeOnCaptureComponentsCompleted in C++); filter callbacks by the returned job ID. Blueprint node: Capture Components (Preview World).

CaptureComponentsInExistingWorld ​

Asynchronously captures selected components in their source world without appending images to a managed scene. All preview-world scene settings, including the force-LOD-0 option, are ignored. Serialize source access, keep components registered and retain LOD/draw-distance overrides until completion. Results use OnCaptureComponentsCompleted (GetNativeOnCaptureComponentsCompleted in C++); filter callbacks by the returned job ID. Blueprint node: Capture Components (Existing World).

See Source-state and cancellation rules.

GenerateOBBCamerasForComponents ​

Synchronously generates cameras around the aggregate component bounds. A single component transform or instanced-mesh instance retains its oriented bounds; multiple component or instance transforms use one world-aligned aggregate bound. Assign the returned cameras and image dimensions to capture settings.

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.

GetNativeOnCaptureComponentsCompleted ​

Returns the native completion delegate for component capture jobs.

GetNativeOnExportToSceneContextCompleted ​

Returns the native completion delegate for managed component-export jobs.

GetNativeOnCaptureToSceneContextCompleted ​

Returns the native completion delegate for managed component-capture jobs.

GetNativeOnSaveSceneContextCompleted ​

Returns the native completion delegate for managed scene-save jobs.

GetNativeOnLoadSceneContextCompleted ​

Returns the native completion delegate for managed scene-load jobs.

GetNativeOnCreateLandscapeSceneMeshDescriptionsCompleted ​

Returns the native completion delegate for landscape scene-mesh-description jobs.

GetNativeOnAppendSceneMeshDescriptionsToSceneContextCompleted ​

Returns the native completion delegate for managed scene-mesh-description append jobs.

Properties details ​

OnExportSceneCompleted ​

Delegate type for triggering when an export job is completed.

OnImportSceneCompleted ​

Delegate type for triggering when an import job is completed.

OnCaptureComponentsCompleted ​

Called when a component capture job is completed.

OnExportToSceneContextCompleted ​

Called when components have been exported to a managed scene.

OnCaptureToSceneContextCompleted ​

Called when captured resources have been appended to a managed scene.

OnSaveSceneContextCompleted ​

Called after a managed scene save finishes.

OnLoadSceneContextCompleted ​

Called after a scene file is loaded into a managed context.

OnCreateLandscapeSceneMeshDescriptionsCompleted ​

Called after reusable landscape scene mesh descriptions have been created.

OnAppendSceneMeshDescriptionsToSceneContextCompleted ​

Called after scene mesh descriptions have been appended to a managed scene.

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.

FSubsystemCameraResult ​

Result of synchronous OBB camera generation through SimplygonSubsystem.

FCapturedSceneImage ​

One captured material channel produced from one camera.

FCapturedSceneData ​

All requested channel images captured from one camera.

FCaptureComponentsResult ​

Result of a preview-world or existing-world component capture job.

FExportToSceneContextResult ​

Result of exporting components to an existing managed scene.

FCaptureToSceneContextResult ​

Result of appending captured resources to a managed scene.

FSaveSceneContextResult ​

Result of saving a managed scene to disk.

FLoadSceneContextResult ​

Result of loading a scene file into a managed scene context.

FCreateLandscapeSceneMeshDescriptionsResult ​

Result of creating reusable landscape scene mesh descriptions.

FAppendSceneMeshDescriptionsToSceneContextResult ​

Result of appending scene mesh descriptions to a managed scene.

FSgSceneMeshDescription ​

Immutable Unreal geometry and placement information used to create a Simplygon scene-mesh node. The native mesh payload is shared between copies and is not exposed as a reflected property.

FSgLandscapeGeometryExportSettings ​

Settings controlling landscape discovery and conversion into reusable scene mesh descriptions.

FSgAppendSceneGeometrySettings ​

Settings controlling how scene mesh descriptions are converted and appended to a managed scene.

FSCCameraSettings ​

Defines one perspective or orthographic camera used by Scene Capture.

FSCCaptureSettings ​

Controls the cameras and image resources produced by one Scene Capture operation.

FSCSceneSettings ​

Controls the isolated preview world and its lighting. Ignored by existing-world capture, including the force-LOD-0 option.

FSCCaptureRequestSettings ​

Complete source-independent configuration for one capture request.

FSCOBBCameraGenerationSettings ​

Controls OBB camera distribution around source component bounds.

See Orthographic camera generation for projection, pixel-density and camera-budget behavior.

FSgCaptureComponentsToSceneSettings ​

Settings for capturing components and appending the captured resources to a managed scene.

FSgImportDestinationSettings ​

Specifies where imported objects are stored and optionally overrides their base asset name.

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 for static mesh geometry and material export, shared by individual mesh asset export and actor/component export, including managed scene contexts.

The mesh export mode selects source-model geometry, Hi-Res geometry with fallback to source LOD 0, or built render geometry. The LOD index selects the source or render LOD; by default, source LOD 0 is exported. For Nanite assets, render LOD 0 is the fallback mesh.

Geometry export settings control texture coordinates, normals, tangents and vertex colors. The material export mode selects Unreal material export or geometry-only export without materials and per-triangle material IDs. Without texture baking, original material references are still exported so import can find and reuse the original Unreal materials. Material export settings control optional baking of material properties to textures, including which properties are baked, texture dimensions and generated texture coordinates.

FSgSceneMeshExportSettings ​

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

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.

ESgMeshExportMode ​

Selects the mesh representation to export: source model, Hi-Res with fallback, or built render data.

ESgMaterialExportMode ​

Controls material assignments and references independently of optional texture baking.

ESgImportDestinationMode ​

This enum specifies how imported objects are stored.

ESgBufferCaptureType ​

Material channels that can be requested from Scene Capture.

ESgCameraProjectionMode ​

Projection used by scene-capture and generated OBB cameras.

ESgCapturedImageColorSpace ​

Color space used to encode captured 8-bit image values.