Skip to main content
Shoggoths_Son
Participating Frequently
Nov 17, 2023 6:18 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

ShiveringCactus
Community Expert
Community Expert
Nov 17, 2023 3:04 PM UTC

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.

Translate
Mylenium
Legend
Nov 17, 2023 2:35 PM UTC

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

 

Mylenium

Translate