name | type | arguments | description |
---|---|---|---|
key | string | <optional> |
A key to identify the plugin in the Plugin Manager. |
plugin | * | <optional> |
The plugin itself. Usually a class/constructor. |
start | boolean | <optional> |
Whether the plugin should be started automatically. |
systemKey | string | <optional> |
For a scene plugin, add the plugin to the scene's systems object under this key ( |
sceneKey | string | <optional> |
For a scene plugin, add the plugin to the scene object under this key ( |
mapping | string | <optional> |
If this plugin is to be injected into the Scene Systems, this is the property key map used. |
data | * | <optional> |
Arbitrary data passed to the plugin's init() method. |