How To Create Plugins/ValueFunctionNode

From Resonite Wiki
This page contains changes which are not marked for translation.
This page is in a state of significant expansion or restructuring. You are welcome to assist in its construction by editing it as well.
Reason: Not all functions are listed. They aren't used as much but still require documentation as this is an object reference.

A ValueFunctionNode is a ProtoFlux node type which uses return to output a single value. To output an object, please see ObjectFunctionNode.
Unlike Void Nodes, this node does not need to write the value to an output, due to the output being calculated by the returned value from the Compute(C) function.

Object reference

Base Class

Inherits from ValueFunctionNode<C, T> where C is your Node Context and T is your returned type.

Functions

Function Description
Compute Main function, called whenever the node updates