Synced
AssetPipeline.RestoreProperties
Section titled “AssetPipeline.RestoreProperties”
- Restores serialized properties to the existing asset object.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public void Inno.Assets.Pipeline.AssetPipeline.RestoreProperties<TValue>(System.Guid stableTypeId, byte[] propertyData, TValue target) where TValue : class, Inno.Core.Serialization.ISerializableParameters
Section titled “Parameters”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 parameters
Section titled “Type parameters”Type parameter TValue: Serialized asset object type receiving restored properties.