What is the Per Instance Custom Data Vector 3 node? I thought you could only pass floats?

Hello! I found this Per Instance Custom Data Vector 3 node as an option in the Material Graph. I thought you could only pass single float values through per index of Per Instance Custom Data, can you pass through vector values as well?

I couldn’t find a corresponding Set Custom Data Value BP node that would allow you to pass in a Vector3, is this maybe something that can only be accessed in C++?

perinstancecustomdatavector3

Is it these?

It just reads 3 sequential index positions. In other words it’s a convenience node that takes 3 floats and puts them in vector format for you, rather than needing 3 data nodes and two append nodes.

1 Like

Ah I see, so you would still have to update each index individually in blueprint, but then can use the Per Instance Custom Data Vector3 to read these values more conveniently in the material.

I was hoping you could change the index to hold a vector value rather than a float, but I’m sure there’s a reason why not. Thanks so much for your help!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.