Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

ScenePropertySerialization.CaptureProperties

Section titled “ScenePropertySerialization.CaptureProperties”
  • Captures all persistent properties without serializing the complete scene.

API: engine
Project: Inno.Scene

public static byte[] Inno.Scene.ScenePropertySerialization.CaptureProperties(Inno.Scene.EngineObject target, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Assets.IAssetReferenceResolver assets)

Parameter target: The live scene object whose state should be captured.

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

Parameter assets: The resolver used to preserve canonical asset references in captured values.

Neutral bytes containing independently encoded properties.

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

Exception T:System.InvalidOperationException: Thrown when the target is destroyed or not owned by a loaded scene.