Hello!

Is it possible in some way to initialise the value of a NodeInstanceInit to a port value?

Comments

Do you mean: is it possible

jstrecker's picture
Submitted by

Do you mean: is it possible to use an input port value when creating the instance data in nodeInstanceInit? If so, yes, nodeInstanceInit can optionally have one or more VuoInputData parameters. You use them just like you would in nodeInstanceEvent to get the input port values. See vuo.math.count.c for an example.