Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates an imported scene asset from validated runtime content produced by the scene asset pipeline.

API: scripting
Project: Inno.Scene
Scope: Runtime

public static InnoEngine.Scene.SceneAsset InnoEngine.Scene.SceneAsset.CreateImported(System.ReadOnlySpan<byte> payload, System.Collections.Generic.IReadOnlyList<InnoEngine.Assets.AssetDependency> dependencies)

Parameter payload: The complete serialized runtime scene graph.

Parameter dependencies: The direct persistent asset dependencies captured with the scene graph.

A scene asset ready for an asset import writer to commit.