DevAtlas Viewport and Customization Engine
  • API Overview
  • Documentation Notes
  • Reserved Features
  • Viewport Engine
    • Loading Windows
      • changeViewport()
      • Loading Customization Engine Plugins
    • Account Functions
      • logInAPI()
  • Customization Engine
    • Viewport Window
      • Viewport Window Definition
      • Viewport Window JS Object
      • Viewport Window JSON
    • Sidebar Icon
    • Announcements
Powered by GitBook
On this page
  1. Viewport Engine
  2. Loading Windows

Loading Customization Engine Plugins

createNewViewportWindowToCache() loads a plugin window using the Customization Engine.

Syntax:

createNewViewportWindowToCache(pluginID, windowID)

Parameters:

pluginID - The plugin ID of the window you're trying to load.

windowID - The window ID of the window you are trying to load.

Result:

This function will load the code and JSON files needed for the window to run and then call the changeViewportForPlugin() function to load the downloaded code into the viewport. The changeViewportForPlugin() function should never be used by a plugin. Use the createNewViewportWindowToCache() function to load plugin windows.

PreviouschangeViewport()NextAccount Functions

Last updated 3 months ago