Parameter | Description |
---|---|
textReader | The reader object containing the SVG file data |
dpi | The DPI of the SVG file, or 0 to use the device's DPI |
pixelsPerUnit | How many SVG units fit in a Unity unit |
windowWidth | The default with of the viewport, may be 0 |
windowHeight | The default height of the viewport, may be 0 |
clipViewport | Whether the vector scene should be clipped by the SVG document's viewport |
SceneInfo A SceneInfo object containing the scene data
Kicks off an SVG file import.
Parameter | Description |
---|---|
textReader | The reader object containing the SVG file data |
viewportOptions | The viewport options to use |
dpi | The DPI of the SVG file, or 0 to use the device's DPI |
pixelsPerUnit | How many SVG units fit in a Unity unit |
windowWidth | The default with of the viewport, may be 0 |
windowHeight | The default height of the viewport, may be 0 |
SceneInfo A SceneInfo object containing the scene data
Kicks off an SVG file import.