Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    IAssetSerializer Interface

    Namespace: Stride.Core.Assets.Serializers
    Assembly: Stride.Core.Assets.dll

    public interface IAssetSerializer
    Name Description
    Methods
    Load(Stream, UFile, ILogger, Boolean, out Boolean, out AttachedYamlAssetMetadata)
    Save(Stream, Object, AttachedYamlAssetMetadata, ILogger)
    | Improve this Doc View Source

    Methods


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

    object Load(Stream stream, UFile filePath, ILogger log, bool clearBrokenObjectReferences, out bool aliasOccurred, out AttachedYamlAssetMetadata yamlMetadata)
    Parameters
    Type Name Description
    System.IO.Stream stream
    Stride.Core.IO.UFile filePath
    ILogger log
    System.Boolean clearBrokenObjectReferences
    System.Boolean aliasOccurred
    AttachedYamlAssetMetadata yamlMetadata
    Returns
    Type Description
    System.Object

    Save(Stream, Object, AttachedYamlAssetMetadata, ILogger)

    void Save(Stream stream, object asset, AttachedYamlAssetMetadata yamlMetadata, ILogger log = null)
    Parameters
    Type Name Description
    System.IO.Stream stream
    System.Object asset
    AttachedYamlAssetMetadata yamlMetadata
    ILogger log

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation