This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Reads the 88x88 thumbnail from Material Editor for an arbitrary material. | |
-- Note that it renders faster when the material editor is closed, | |
-- so you could call `MatEditor.Close()` first. | |
-- | |
-- Parameters: | |
-- mat: a material instance (StandardMaterial, Universal_Material, etc..) | |
-- | |
-- Returns: | |
-- a Bitmap or `undefined` | |
-- |