Pass a array to shader uniform

I wan’t to pass an array of Vector3f to a shader, how can this be done?


material.setParam(“MyArray”, VarType.Vector3Array, ?);


What should I pass as a data as parameter instead of “?” if I want this to work?

An array of Vector3f?

And now it magically works :slight_smile: Thanks!