Preparing search index...

    Base interface type for Editor plugin system objects.

        // IInterface is the root of the interface hierarchy. Any service
    // resolved via findInterface() is an IInterface at its base.
    // In practice you always cast to the concrete type you asked for.
    const iface: Editor.IInterface = this.pluginSystem.findInterface(Editor.Model.IModel);
    const model = iface as Editor.Model.IModel;
    console.log('Project scene layers:', model.project.scene.layers.combinedIds.toArray().length);

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

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

      Parameters

      • type: string

      Returns boolean