Audectra Node SDK - Release Notes
v0.2.8
This SDK version is supported within Studio and Stage starting with v2023.1.
Breaking Changes
Until now, the constructors of signal and render nodes where identical, both only accepting the extension API as parameter. With this release, render nodes additionally require to take parameters for the canvas width and height, where they are embedded within. Thus the new constructor for render nodes looks like this.
[RenderNode(Name = "Example")]
public class ExampleRenderNode : RenderNodeBase
{
public ExampleRenderNode(IExtensionApi api, int canvasWidth, int canvasHeight)
: base(api, canvasWidth, canvasHeight)
{
}
// ...
}
Improved Node Registration
You can now register nodes with a generic assembly attribute as well. Here is a comparison between both available methods.
// Registration either via attribute constructor,
[assembly: RegisterNode(typeof(ExampleRenderNode))]
// or via generic attribute.
[assembly: RegisterNode<ExampleRenderNode>]
Particle System
With this release, the SDK also delivers a powerful built-in particle system. You can create the particle system, emitters and forces via the extension API.