Preparing search index...

    Stores metadata for an asset, including type information and associated properties.

        // AssetMeta extends InspectableMeta with `isNative` — true for built-in
    // assets shipped with Lens Studio, false for project-imported files.
    // Look it up by entity type name through IEntityRegistry.
    const registry = this.pluginSystem.findInterface(
    Editor.Model.IEntityRegistry
    ) as Editor.Model.IEntityRegistry;

    const meta = registry.getMeta('Scene') as Editor.Model.AssetMeta;
    console.log(`caption: ${meta.caption}, isNative: ${meta.isNative}`);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    caption: string

    Read-only string label displayed for this inspectable in the Editor.

    icon: Editor.Icon

    Read-only icon associated with this inspectable in the Editor UI.

    isAbstract: boolean

    Whether the entity can be created.

    isNative: boolean

    Indicates whether the asset is a native (built-in) asset.

    Methods

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

      Parameters

      • type: string

      Returns boolean