Preparing search index...

    Descriptor subclass for presets, extending BaseDescriptor with preset-specific metadata such as import paths and section.

    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.

    entityType: string

    Specifies the target entity type the preset operates on: 'SceneObject', 'Asset', or 'Component'.

    icon: Editor.Icon

    Icon displayed for the preset in the Lens Studio UI, created via Editor.Icon.fromFile().

    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.

    pathsToImport: Path[]

    List of asset paths to import when the preset is instantiated.

    section: string

    Category or group name under which the preset appears in the preset picker UI.

    Methods

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

      Parameters

      • type: string

      Returns boolean