Synced
AssetSerializationServices.Serialize
Section titled “AssetSerializationServices.Serialize”
- Serializes one structured value and declares every encountered asset reference as a runtime dependency.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Assets.Pipeline
Scope: Editor
Declaration
Section titled “Declaration”public byte[] InnoEditor.Assets.AssetSerializationServices.Serialize<TValue>(TValue value) where TValue : class, InnoEngine.Serialization.ISerializableType parameters
Section titled “Type parameters”Type parameter TValue: The serializable value contract.
Parameters
Section titled “Parameters”Parameter value: The value to serialize through the active converter generation.
Returns
Section titled “Returns”Deterministic structured bytes owned by the caller.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when value is null.