Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

ScenePropertySerialization.CaptureProperty

Section titled “ScenePropertySerialization.CaptureProperty”
  • Captures one persistent property without serializing the complete scene.

API: engine
Project: Inno.Scene

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

Parameter target: The live scene object containing the property.

Parameter propertyName: The exact serialized member key.

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 that can be restored into the same logical object identity.

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

Exception T:System.ArgumentException: Thrown when propertyName is empty or unknown.

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