![]() Then the importer automatically configures the advanced settings to make sure your SVG document renders at a high enough tessellation for that resolution at that zoom factor. When using Basic, you only need to provide a Target Resolution and a Zoom Factor. You can provide tessellation settings in two ways: Basic or Advanced. When using SVG Origin, the pivot is the (0,0) position of the SVG document. This follows the same convention as regular sprites, with an additional SVG Origin pivot value. Location of the pivot for the generated sprite. A smaller step distance will result in smoother curves at the expense of more triangles. Number of SVG units that correspond to 1 scene unit.ĭistance at which Unity generates triangles when tessellating the paths. When imported, you can instantiate the resulting assets in the Hierarchy View or the Scene View. Either drop them directly into the Assets folder in the Projects window, or select Assets > Import New Asset from the menu bar. You import SVG files into the Unity Editor like any other assets. This package provides an SVG importer that reads and interprets SVG documents and generates 2D sprites for use in Unity. The package requires graphics when importing assets in texture format, since it will need to render the vector content into the texture asset. Note that the package may not import asset properly when starting Unity with the -no-graphics command-line argument.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |