Hi,
This may sound trivial, but I have been looking for a way to get the color of an object or ideally from a polygon face. I thought perhaps I could read it from the material or the geometry, but there is no such method.
Is it possible to do ?
Thanks for any feedback on this !
You could get the MatParams from the Material file and then get their type and value from there using getName, getValue, and getVarType…
http://hub.jmonkeyengine.org/javadoc/com/jme3/material/MatParam.html
1 Like
Yep, that will work, thanks !