ImageTexture from Mesh?

Godot Version



When i export a Scene as a MeshLibrary, the MeshLibrary automaticaly creates the preview.
Im interested in how that works, or how i can implement this functionality into my code?

Preview generation is done using EditorInterface.make_mesh_previews().

See the engine source code for the internal implementation in the MeshLibrary editor plugin:

And the function’s code:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.