Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates an imported prefab asset from validated runtime content produced by the prefab asset pipeline.

API: engine
Project: Inno.Scene

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

Parameter payload: The complete serialized runtime object subtree.

Parameter dependencies: The direct persistent asset dependencies captured with the subtree.

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