classes/class_editorresourcepreviewgenerator #354
Replies: 1 comment 1 reply
-
|
Implementing _Handles seems to be impossible for custom resource types. When I check the string value it receives, it just reports the type I've inherited from, for example Resource or FastNoiseLite. These custom Resource types I'm using are all labeled as Tools & Global Classes. So are EditorResourcePreviewGenerators only intended for use on built-in types? If so, that should probably be mentioned somewhere. I was hoping to just make modifications to how a FastNoiseLite is sampled, and I wrote a preview generator that makes sense to me, but it will never get used as far as I understand it now. Is an InspectorPlugin the only option? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
classes/class_editorresourcepreviewgenerator
Inherits: RefCounted< Object Custom generator of previews. Description: Custom code to generate previews. Please check file_dialog/thumbnail_size in EditorSettings to find out the right size to do ...
https://docs.godotengine.org/en/stable/classes/class_editorresourcepreviewgenerator.html
Beta Was this translation helpful? Give feedback.
All reactions