Synced
SceneAsset.CreateImported
Section titled “SceneAsset.CreateImported”
- Creates an imported scene asset from validated runtime content produced by the scene asset pipeline.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scene
Declaration
Section titled “Declaration”public static Inno.Scene.SceneAsset Inno.Scene.SceneAsset.CreateImported(System.ReadOnlySpan<byte> payload, System.Collections.Generic.IReadOnlyList<Inno.Assets.AssetDependency> dependencies)Parameters
Section titled “Parameters”Parameter payload: The complete serialized runtime scene graph.
Parameter dependencies: The direct persistent asset dependencies captured with the scene graph.
Returns
Section titled “Returns”A scene asset ready for an asset import writer to commit.