Preparing search index...

    Configuration descriptor for an entity generator, specifying entity type and icon.

        // EntityGenerator.Descriptor extends BaseDescriptor and adds properties
    // for configuring how the generator appears in the editor UI.
    const d = new Descriptor();
    d.id = 'com.docs.EntityGeneratorDescriptorExample';
    d.name = 'Custom Asset Generator';
    d.entityType = 'Asset';
    d.displayOrder = 50;
    // d.icon = new Editor.Icon(...);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    dependencies: InterfaceId[]

    Array of interface IDs that this plugin requires to function.

    description: string

    Human-readable description of the plugin shown in the plugin manager.

    displayOrder: number

    Numeric order controlling where this generator appears in the UI relative to others.

    entityType: string

    Target entity category this generator creates 'SceneObject', 'Asset', or 'Component'.

    icon: Editor.Icon

    Icon displayed for this generator in the Lens Studio UI.

    id: string

    Unique identifier for the plugin, typically in reverse domain notation.

    interfaces: InterfaceId[]

    Array of interface IDs that this plugin provides or implements.

    name: string

    Display name of the plugin.

    Methods

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

      Parameters

      • type: string

      Returns boolean