Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Serializes one structured value and declares every encountered asset reference as a runtime dependency.

API: scripting
Project: Inno.Assets.Pipeline
Scope: Editor

public byte[] InnoEditor.Assets.AssetSerializationServices.Serialize<TValue>(TValue value) where TValue : class, InnoEngine.Serialization.ISerializable

Type parameter TValue: The serializable value contract.

Parameter value: The value to serialize through the active converter generation.

Deterministic structured bytes owned by the caller.

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