Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Restores serialized properties to the existing asset object.

API: engine
Project: Inno.Assets.Pipeline

public void Inno.Assets.Pipeline.AssetLoader.RestoreProperties<TValue>(System.Guid stableTypeId, byte[] propertyData, TValue target) where TValue : class, Inno.Core.Serialization.ISerializable

Parameter stableTypeId: The stable type id consumed by restore properties; ownership remains with the caller unless explicitly stated otherwise.

Parameter propertyData: The property data consumed by restore properties; ownership remains with the caller unless explicitly stated otherwise.

Parameter target: The existing target that receives the validated result.

Type parameter TValue: Serialized asset object type receiving restored properties.