Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

EditorResourcePreviewGenerator Extensions

An asset by goakley
The page banner background of a mountain and forest
EditorResourcePreviewGenerator Extensions hero image

Quick Information

0 ratings
EditorResourcePreviewGenerator Extensions icon image
goakley
EditorResourcePreviewGenerator Extensions

A Godot 4 plugin that extends the functionality of EditorResourcePreviewGenerator to simplify preview generation. Fully compatible with Godot's existing EditorResourcePreview functionality.The EditorResourcePreviewGenerator2D class allows for generating previews using CanvasItem-style drawing calls. It is an EditorResourcePreviewGenerator, but its _generate_2d() method replaces the parent class's _generate() method and passes in an object that allows for calling drawing methods (draw_circle, draw_polyline, etc).

Supported Engine Version
4.0
Version String
1.1.0
License Version
GPLv3
Support Level
community
Modified Date
5 hours ago
Git URL
Issue URL

EditorResourcePreviewGenerator Extensions

A Godot 4 plugin that extends the functionality of EditorResourcePreviewGenerator to simplify preview generation. Fully compatible with Godot's existing EditorResourcePreview functionality.

Features

The EditorResourcePreviewGenerator2D class allows for generating previews using CanvasItem-style drawing calls. It is an EditorResourcePreviewGenerator, but its _generate_2d() method replaces the parent class's _generate() method and passes in an object that allows for calling drawing methods (draw_circle, draw_polyline, etc).

Examples

Basic usage can be found in the built-in documentation for the plugin's classes. Full runnable examples can be found in the addons/ directory (named example_*). Open this repository in the Godot editor to play with the full examples.

A Godot 4 plugin that extends the functionality of EditorResourcePreviewGenerator to simplify preview generation. Fully compatible with Godot's existing EditorResourcePreview functionality.

The EditorResourcePreviewGenerator2D class allows for generating previews using CanvasItem-style drawing calls. It is an EditorResourcePreviewGenerator, but its _generate_2d() method replaces the parent class's _generate() method and passes in an object that allows for calling drawing methods (draw_circle, draw_polyline, etc).

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
EditorResourcePreviewGenerator Extensions icon image
goakley
EditorResourcePreviewGenerator Extensions

A Godot 4 plugin that extends the functionality of EditorResourcePreviewGenerator to simplify preview generation. Fully compatible with Godot's existing EditorResourcePreview functionality.The EditorResourcePreviewGenerator2D class allows for generating previews using CanvasItem-style drawing calls. It is an EditorResourcePreviewGenerator, but its _generate_2d() method replaces the parent class's _generate() method and passes in an object that allows for calling drawing methods (draw_circle, draw_polyline, etc).

Supported Engine Version
4.0
Version String
1.1.0
License Version
GPLv3
Support Level
community
Modified Date
5 hours ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers