Preparing search index...

    ML asset backed by a remote device-dependent resource.

        const model = this.pluginSystem.findInterface(Editor.Model.IModel) as Editor.Model.IModel;

    // Find RemoteMLAsset assets and inspect their device-dependent ID
    const remoteMLAssets = model.project.assetManager.assets.filter(
    a => a.isOfType('RemoteMLAsset')
    ) as Editor.Assets.RemoteMLAsset[];

    for (const asset of remoteMLAssets) {
    if (Editor.isNull(asset)) continue;
    console.log(`RemoteMLAsset: ${asset.name}, deviceDependentAssetId: ${asset.deviceDependentAssetId}`);
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    cacheFile: Path

    Path to the cached asset file.

    deviceDependentAssetId: string

    Identifier for the device-dependent asset on the remote resource.

    Import metadata for the asset.

    id: Uuid

    The unique id of the entity.

    meta: Meta

    Metadata associated with this entity, providing access to its unique identifier and other descriptive properties.

    name: string

    The name of the asset.

    type: string

    The entity's type.

    Methods

    • Beta

      Returns the name of this object's type.

      Returns string

    • Beta

      Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean

    • Beta

      Returns true if this object refers to the same instance as the given object.

      Parameters

      Returns boolean