Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    AssetClonerFlags Enum

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

    Flags used by AssetCloner

    [Flags]
    public enum AssetClonerFlags

    Fields

    Name Description
    ClearExternalReferences

    Clears any external references in the cloned object

    GenerateNewIdsForIdentifiableObjects

    Generates new ids for objects that implement IIdentifiable.

    KeepReferences

    Attached references will be kept as is

    None

    No special flags while cloning.

    ReferenceAsNull

    Attached references will be cloned as null

    RemoveItemIds

    Remove ids attached to item of collections when cloning

    RemoveUnloadableObjects

    Removes invalid objects

    Extension Methods

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

    Back to top

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