Table of Contents

Interface IAssetSerializer

Namespace
Stride.Core.Assets.Serializers
Assembly
Stride.Core.Assets.dll
public interface IAssetSerializer

Methods

Load(Stream, UFile, ILogger, bool, out bool, out AttachedYamlAssetMetadata)

object Load(Stream stream, UFile filePath, ILogger log, bool clearBrokenObjectReferences, out bool aliasOccurred, out AttachedYamlAssetMetadata yamlMetadata)

Parameters

stream Stream
filePath UFile
log ILogger
clearBrokenObjectReferences bool
aliasOccurred bool
yamlMetadata AttachedYamlAssetMetadata

Returns

object

Save(Stream, object, AttachedYamlAssetMetadata, ILogger)

void Save(Stream stream, object asset, AttachedYamlAssetMetadata yamlMetadata, ILogger log = null)

Parameters

stream Stream
asset object
yamlMetadata AttachedYamlAssetMetadata
log ILogger