Parameter | Description |
---|---|
geoms | The list of tessellated Geometry instances |
gradientResolution | The maximum size of the texture holding gradient data |
VectorImage A new VectorImage containing the provided geometry. The VectorImage may have a texture if the geometry has any texture and/or gradients
Builds a sprite asset from a scene tessellation.
It is the caller's responsibility to destroy the returned VectorImage using UnityEngine.Object.Destroy.
Parameter | Description |
---|---|
sceneInfo | The SVGParser.SceneInfo to build the VectorImage from. |
VectorImage A VectorImage constructed from the vector scene definition.
Builds an antialiased VectorImage from a vector scene definition.