View on Asset Store (opens in new tab)
Package details
- Latest version
- 2.0.1
- Last updated
- First released
- Unity version
- 2020.3.25 or later
- Package size
- 28.2 MB
- Files
- 157
- Favorites
- 234
- Views in the past week
- 28
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
SVGAssets
- Price drop
SVGAssets is a plugin for SVG rendering, supporting some static features of SVG Full1.1/Tiny1.2; it allows to keep the SVGs and render them on the target platform at runtime, at the desired resolution
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
SVGAssets screenshot 1
About this asset
Documentation | Website | Forum
SVGAssets is a FREE plugin for reading and rendering SVG files on Texture2D objects, supporting some static features of SVG Full 1.1 and SVG Tiny 1.2.
SVGAssets simplifies the management of image assets for all those projects that need to run across a wide range of devices with different resolutions: using the plugin, the developer keeps all image files in SVG format and render them on the target platform at runtime, at the desired resolution.
The API exposes methods for the manipulation of viewports, drawing surfaces and SVG documents: there are methods for creating drawing surfaces, load SVG documents, get their information and draw them on surfaces. The Document Object Model (DOM) is not exposed because the plugin is aimed to the rendering only.
For projects that need to run across a wide range of devices, with different resolutions, SVGAssets simplifies your life: a single SVG file is enough, you won't need to maintain multiple copies of the same texture image, at different resolutions, anymore!
- Automatic generation of sprites from SVG files
- Really optimized texture atlasing, built at runtime on the target device
- Automatic deployment system: textures removal and regeneration on the target device
- Final player file size reduction, avoiding bitmaps deployment at all!
- Separate rendering of first level groups (SVG 'g' tags)
- Based on the robust AmanithVG SRE rendering engine
- Really high antialiasing quality: analytical pixel coverage
- Cross platform: desktops (Win, OSX, Linux), mobile (iOS, Android), 64bit support!
Web Player is not supported.
Windows Store Apps is not supported.
Vulkan backend is not supported.
From the publisher's Asset Store listing.
Technical details
SVGAssets consists of:
- a native Unity plugin that is Mazatech's AmanithSVG Lite SDK
- a low level C# layer, that uses the Platform Invoke mechanism: PInvoke allows .NET code to call functions that are implemented within the AmanithSVG C/C++ native .dll (Windows), .dylib (MacOS X), .so (Linux). It is important to understand that the main benefit of this approach is in the ability to call the same C/C++ code on all .NET platforms.
- a high level C# layer that abstracts some details of the low level API
- an even more higher level C# layer that consists of Unity specific (integration) scripts
Some headlines about the native plugin:
- Standalone: the library does not have external dependencies, it can be used just as is
- Cross platform: the API, and so the rendering, remains consistent across all supported platforms
- Really fast rendering and high antialiasing quality (analytical pixel coverage)
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2020.3.25f1 | Compatible | Not listed | Not listed |
As listed on the Asset Store.