A registry of various entities.

// Get a list of abstract entities
const entityRegistry = pluginSystem.findInterface(Editor.Model.IEntityRegistry);
const abstractFilter = (entityType) => {
return entityRegistry.getMeta(entityType).isAbstract;
};
interface IEntityRegistry {
    getMeta(entityType: string): Meta;
    getTypeName(): string;
    isOfType(type: string): boolean;
    isSame(other: ScriptObject): boolean;
}

Hierarchy (view full)

Methods

  • Beta

    Get the metadata of an entity.

    Parameters

    • entityType: string

    Returns Meta