Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Captures one live GameObject and all descendants without serializing unrelated scene objects.

API: engine
Project: Inno.Scene

public static byte[] Inno.Scene.SceneSubtreeSerialization.Capture(Inno.Scene.GameObject root, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Assets.IAssetReferenceResolver assets)

Parameter root: The live subtree root.

Parameter serialization: The serialization registry that owns the active converter generation.

Parameter assets: The asset-reference resolver used to encode referenced asset identities.

Neutral bytes containing the subtree structure, components, properties, and identity references.

Exception T:System.ArgumentNullException: Thrown when root is null.

Exception T:System.InvalidOperationException: Thrown when the root is destroyed or detached.