Notifications
Clear all
[Closed] SDK: Get all material types
May 20, 2011 4:33 am
How do I go about grabbing a list of all available material types? Standard, VRayMtl, etc.?
3 Replies
May 20, 2011 4:33 am
material.classes returns a array of every shader \ texture you’ve got.
example:
print material.classes
May 20, 2011 4:33 am
It seems what I want is the SDK version of “material.classes” in maxscript.
http://forums.cgsociety.org/archive/index.php/t-594306.html
Anyone?
May 20, 2011 4:33 am
you could launch the above maxscript from your SDK plugin, and fetch the result.