Back to the Shapespark home page

Reading scaling value of material of a node

Hi,
Is there a way to read the values related to scaling & offset of the material of a node on which a click is made.

We can set the value by using material.setUvOffsetAndScale but is there a way to real the scale & offset values?

The API misses the public getter for these properties. But these values are never modified internally by the engine, only by the user API calls, so if your code didn’t change them, the defaults are always used: 0, 0, 1, 1

Thanks! Are there any plans to bring this API?

I am assuming that there are no API calls for getting the name of the texture as well?