Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    BuildAssetNode Class

    Namespace: Stride.Core.Assets.Analysis
    Assembly: Stride.Core.Assets.dll
    System.Object → BuildAssetNode
    Derived from BuildAssetNode:

    public class BuildAssetNode
    Name Description
    Constructors
    BuildAssetNode(AssetItem, Type, BuildDependencyManager)
    Fields
    VisitRuntimeTypes
    Properties
    AssetItem
    CompilationContext
    References
    Methods
    Analyze(AssetCompilerContext)

    Performs analysis on the asset to figure out all the needed dependencies

    ToString()
    | Improve this Doc View Source

    Constructors


    BuildAssetNode(AssetItem, Type, BuildDependencyManager)

    public BuildAssetNode(AssetItem assetItem, Type compilationContext, BuildDependencyManager dependencyManager)
    Parameters
    Type Name Description
    AssetItem assetItem
    System.Type compilationContext
    BuildDependencyManager dependencyManager
    | Improve this Doc View Source

    Fields


    VisitRuntimeTypes

    public static PropertyKey<bool> VisitRuntimeTypes
    Field Value
    Type Description
    PropertyKey<System.Boolean>
    | Improve this Doc View Source

    Properties


    AssetItem

    public AssetItem AssetItem { get; }
    Property Value
    Type Description
    AssetItem

    CompilationContext

    public Type CompilationContext { get; }
    Property Value
    Type Description
    System.Type

    References

    public ICollection<BuildAssetLink> References { get; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<BuildAssetLink>
    | Improve this Doc View Source

    Methods


    Analyze(AssetCompilerContext)

    Performs analysis on the asset to figure out all the needed dependencies

    public bool Analyze(AssetCompilerContext context)
    Parameters
    Type Name Description
    AssetCompilerContext context

    The compiler context

    Returns
    Type Description
    System.Boolean

    True if the node was updated, false otherwise.


    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.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