Inspired by another thread about multiple texture out pins on a dynamic plugin, I discovered the function IPluginHost.CreateNodeInput.
I got this far, and a node is actually being created, but I can’t make any connection to this pin. I was expecting some behaviour similar to Switch(Node), where one can connect a mesh or a texture to this pin.
Apart from that, even if this would have worked, I don’t know how to access that object from within the code, and do something useful with it.
Is this possible (yet), and how? What did I forget?
// import host and hand it to base constructor
public EX9_TextureTexturePluginTestNode(IPluginHost host) : base(host)
host.CreateNodeInput("Node", TSliceMode.Single, TPinVisibility.True, out FNodeIn);
I guess that’s if I define my own type, I can send it from one node to another, but is it possible at this time to create an input pin that accepts a lot of different things, exactly like the ‘Node Input’ pin on the GetSlice(Node) node? Like meshes, textures, etc.?
Or else, how would I create a ‘mesh’ or ‘texture’ input pin?