Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshot for Differerent Assets #10

Open
4 tasks
gz65555 opened this issue Jun 9, 2022 · 0 comments
Open
4 tasks

Snapshot for Differerent Assets #10

gz65555 opened this issue Jun 9, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@gz65555
Copy link
Collaborator

gz65555 commented Jun 9, 2022

Add a snapshot function to generate HTMLImageElement for preview

function snapshot(asset: Asset, engine: Engine): Promise<HTMLImageElement>;

For Asset, there are serveral types need support:

  • Material
  • Texture
  • Entity
  • Sprite
@GuoLei1990 GuoLei1990 added the enhancement New feature or request label Jun 9, 2022
@eyworldwide eyworldwide added this to the 0.8 milestone Jun 9, 2022
@GuoLei1990 GuoLei1990 removed this from the 0.8 milestone Aug 8, 2022
@yangfengzzz yangfengzzz added this to the 1.3 milestone Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants