[Input("Input")](Input("Input"))
public ISpread<Vector3D> FVec3SpreadIn;
[Output("Output")](Output("Output"))
public ISpread<Vector3D> FVec3SpreadOut;
and then access and process it like:
for (int i = 0; i < SpreadMax; i++)
{
var vectorSliceFromInputPin = FVec3SpreadIn[i](i);
//do some math
FVec3SpreadOut[i](i) = resultVectorFromCalculation;
}
the plugin interface does all the type conversion and slice handling for you. if you want to set the default value of the input you need to write:
[Input("Input", DefaultValues = new double[](Input("Input", DefaultValues = new double[){1.0, 0.0, 0.0})]
public ISpread<Vector3D> FVec3SpreadIn;