Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ContentManagerLoaderSettings Class

    Namespace: Stride.Core.Serialization.Contents
    Assembly: Stride.Core.Serialization.dll

    Specifies settings for Load<T>(String, ContentManagerLoaderSettings) operations.

    System.Object → ContentManagerLoaderSettings
    Derived from ContentManagerLoaderSettings:

    public sealed class ContentManagerLoaderSettings
    Name Description
    Properties
    AllowContentStreaming

    Gets or sets a value indicating whether assets can be loading using streaming service.

    ContentFilter

    Gets or sets a filter that can indicate whether IReference should be loaded.

    Default

    Gets the default loader settings.

    IgnoreReferences

    Gets the loader settings which doesn't load content references.

    LoadContentReferences

    Gets or sets a value indicating whether IReference should be loaded.

    StreamingDisabled

    Gets the loader settings which doesn't support resources streaming. Resources will be loaded without async streaming.

    Methods
    NewContentFilterByType(Type[])

    Creates a new content filter that won't load chunk if not one of the given types.

    | Improve this Doc View Source

    Properties


    AllowContentStreaming

    Gets or sets a value indicating whether assets can be loading using streaming service.

    public bool AllowContentStreaming { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if load content using streaming service; otherwise, false.


    ContentFilter

    Gets or sets a filter that can indicate whether IReference should be loaded.

    public ContentManagerLoaderSettings.ContentFilterDelegate ContentFilter { get; set; }
    Property Value
    Type Description
    ContentManagerLoaderSettings.ContentFilterDelegate

    The content reference filter.


    Default

    Gets the default loader settings.

    public static ContentManagerLoaderSettings Default { get; }
    Property Value
    Type Description
    ContentManagerLoaderSettings

    The default loader settings.


    IgnoreReferences

    Gets the loader settings which doesn't load content references.

    public static ContentManagerLoaderSettings IgnoreReferences { get; }
    Property Value
    Type Description
    ContentManagerLoaderSettings

    The loader settings which doesn't load content references.


    LoadContentReferences

    Gets or sets a value indicating whether IReference should be loaded.

    public bool LoadContentReferences { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if IReference should be loaded; otherwise, false.


    StreamingDisabled

    Gets the loader settings which doesn't support resources streaming. Resources will be loaded without async streaming.

    public static ContentManagerLoaderSettings StreamingDisabled { get; }
    Property Value
    Type Description
    ContentManagerLoaderSettings

    The loader settings which doesn't support resources streaming.

    | Improve this Doc View Source

    Methods


    NewContentFilterByType(Type[])

    Creates a new content filter that won't load chunk if not one of the given types.

    public static ContentManagerLoaderSettings.ContentFilterDelegate NewContentFilterByType(params Type[] types)
    Parameters
    Type Name Description
    System.Type[] types

    The accepted types.

    Returns
    Type Description
    ContentManagerLoaderSettings.ContentFilterDelegate

    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