Synced
ScenePropertySerialization.CaptureProperties
Section titled “ScenePropertySerialization.CaptureProperties”
- Captures all persistent properties without serializing the complete scene.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scene
Declaration
Section titled “Declaration”public static byte[] Inno.Scene.ScenePropertySerialization.CaptureProperties(Inno.Scene.EngineObject target, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Assets.IAssetReferenceResolver assets)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”Neutral bytes containing independently encoded properties.
Exceptions
Section titled “Exceptions”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.