Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    AssetLink Struct

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

    Represent a link between Assets.

    public struct AssetLink : IContentLink
    Name Description
    Constructors
    AssetLink(AssetItem, ContentLinkType)

    Create an asset dependency of type type and pointing to item

    Fields
    Item

    The asset item pointed by the dependency.

    Properties
    Element
    Type
    Methods
    Clone()

    Gets a clone copy of the asset dependency.

    | Improve this Doc View Source

    Constructors


    AssetLink(AssetItem, ContentLinkType)

    Create an asset dependency of type type and pointing to item

    public AssetLink(AssetItem item, ContentLinkType type)
    Parameters
    Type Name Description
    AssetItem item

    The item the dependency is pointing to

    ContentLinkType type

    The type of the dependency between the items

    | Improve this Doc View Source

    Fields


    Item

    The asset item pointed by the dependency.

    public readonly AssetItem Item
    Field Value
    Type Description
    AssetItem
    | Improve this Doc View Source

    Properties


    Element

    public readonly IReference Element { get; }
    Property Value
    Type Description
    IReference

    Type

    public ContentLinkType Type { get; set; }
    Property Value
    Type Description
    ContentLinkType
    | Improve this Doc View Source

    Methods


    Clone()

    Gets a clone copy of the asset dependency.

    public AssetLink Clone()
    Returns
    Type Description
    AssetLink

    the clone instance


    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    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