Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

Shadron Example Extension

This extension serves as an introduction to the Shadron extension API. You may use this as a basis for your own extension or as a reference. See the full documentation to make sure you use the API correctly.

Build and installation

Use Microsoft Visual Studio 2015 to build the project in release configuration, and run install-to-shadron.bat to copy the DLL to the appropriate location. Shadron searches for extensions in extensions directory in its own directory, and in %APPDATA%\Shadron\extensions.

Usage

To use an extension in a script, it must first be enabled with the #extension directive:

#extension example

Now, you may generate an image or an animation with the extension like this:

image ImageTest = example();
animation AnimationTest = example();

Try out the extension test script, which does this.

You can’t perform that action at this time.