Get all MatIDs used on an object?
Is there a faster way to get all the material ID's used on an object rather than looking at every single face and doing a getFaceMatID on them?
i.e. - is there a property on the object/mesh node (similar to obj.material ) which is an array of all the ID's used on this object?
(note: the multi-sub materials may have sub-mats which are not used at all on this object, so I'm wanting to obtain the ones that actually used)