Skip to main content
Shoggoths_Son
Participating Frequently
November 17, 2023
Question

Plugin Development: Adding expression functions or other API for interactivity with a plugin.

  • November 17, 2023
  • 2 replies
  • 246 views

Is it possible to add javascript functions that the user can interact with as an entry point for my plugin? Let's say I wanted to add an FFT function that could be run on a particular instance of my effect plugin or something like that. Could I enhance the JS programming environment or expose Js functions from my plugin?

This topic has been closed for replies.

2 replies

ShiveringCactus
Community Expert
Community Expert
November 17, 2023

I suppose you could bundle a folder of script files along with your plugin and in the UI direct users to navigate to the installed folder to run a script.  In concept, that wouldn't be much different from selecting an included environment map in Element 3D.

Mylenium
Legend
November 17, 2023

Nope. You can only reference actual files or code bits stored in other expressions in the actual expression itself.

 

Mylenium