Table of Contents

Class AssetItemExtensions

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll
public static class AssetItemExtensions
Inheritance
AssetItemExtensions

Methods

GetGeneratedAbsolutePath(AssetItem)

If the asset is a IProjectFileGeneratorAsset, gets the generated file full path.

public static UFile GetGeneratedAbsolutePath(this AssetItem assetItem)

Parameters

assetItem AssetItem

The asset item.

Returns

UFile

GetGeneratedInclude(AssetItem)

If the asset is a IProjectFileGeneratorAsset, gets the generated file path relative to its containing .csproj.

public static string GetGeneratedInclude(this AssetItem assetItem)

Parameters

assetItem AssetItem

The asset item.

Returns

string

GetProjectInclude(AssetItem)

Gets the asset filename relative to its .csproj file for IProjectAsset.

public static string GetProjectInclude(this AssetItem assetItem)

Parameters

assetItem AssetItem

The asset item.

Returns

string