AnsweredAssumed Answered

How to use ITexture.GetSystemTextureName with ITexture.MaterialName?

Question asked by Jana Stahn on Dec 4, 2019

I am trying to use ITexture.GetSystemTextureName. The API help says that I should feed it with the output of ITexture.MaterialName.


After applying e.g. the checkers texture to my object, the output of ITexture.MaterialName is



and if I use that as first argument of ITexture.GetSystemTextureName, I always get an empty string. It does not matter if I use True or False as second argument.


What am I doing wrong? How do I make it work (i.e. not return an empty string, but the actual system texture name)?