Table of Contents

Interface IAssetFinder

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll
public interface IAssetFinder

Methods

FindAsset(AssetId)

Finds an asset by its identifier.

AssetItem FindAsset(AssetId assetId)

Parameters

assetId AssetId

The identifier of the asset.

Returns

AssetItem

The corresponding AssetItem if found; otherwise, null.

FindAsset(UFile)

Finds an asset by its location.

AssetItem FindAsset(UFile location)

Parameters

location UFile

The location of the asset.

Returns

AssetItem

The corresponding AssetItem if found; otherwise, null.

FindAssetFromProxyObject(object)

Finds an asset from a proxy object.

AssetItem FindAssetFromProxyObject(object proxyObject)

Parameters

proxyObject object

The proxy object which is represent the targeted asset.

Returns

AssetItem

The corresponding AssetItem if found; otherwise, null.