ScreenshotWebGL
Marks
$0.0
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
12/09(2021) |
0.0 |
11/19(2024) |
0.0 |
Jump AssetStore
Take screenshots on the web.This asset uses html2canvas under MIT; see html2canvas.min.jspre file in package(MarksAssets/ScreenshotWebGL/Plugins) for details.Even though Unity has a built in way to take screenshots, it can only take screenshots of stuff happening in the game’s canvas. This asset can take screenshots of everything happening in the DOM. The main use for this asset is when your game doesn’t happen entirely in Unity’s game canvas. An example of such a use case is when you set the camera’s clear flag to depth only or solid color with alpha 0 to show the webcam feed of another plugin. In such a case, the regular screenshot method won’t work because the webcam feed is just an HTML video element and not a texture in Unity that you control.You can do whatever you want with the screenshot, such as:Apply it to a Unity texture to render it inside the game. This is what the example scene does.Upload it to an external server.Download, supported by ShareNSaveWebGLShare, supported by ShareNSaveWebGLetc