Preparing search index...

    The metadata of an entity.

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

    if (assets.length === 0) {
    console.log('No assets in project.');
    return;
    }

    const entity = assets[0] as unknown as Editor.Model.Entity;
    const meta: Editor.Model.Meta = entity.meta;
    console.log(`Meta isAbstract: ${meta.isAbstract}`);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    isAbstract: boolean

    Whether the entity can be created.

    Methods

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean