Determine data type of material node pin in editor

Is it possible to determine the data type (e.g., float3, float4) of an pin in the material graph editor?

I know you can generate and inspect the shader code or look at the C++ that implements a specific material node, but I do not know how to determine the data type in the material editor itself.

1 Like

AFAIK, there isn’t a direct method. However, you can find out at least some of the types by generating error messages.

Example: multiplying Constant2Vector with Constant3Vector gives you:

[SM5] (Node Multiply) Arithmetic between types float2 and float3 are undefined

If you know the type of one input, you find out the other one.

Unsatisfying, but I think correct :frowning: