Method GenerateAtlasAndFillUVs
GenerateAtlasAndFillUVs(IEnumerable<Geometry>, uint)
Generates a Texture2D atlas containing the textures and gradients for the vector geometry, and fill the UVs of the geometry.
Declaration
public static VectorUtils.TextureAtlas GenerateAtlasAndFillUVs(IEnumerable<VectorUtils.Geometry> geoms, uint rasterSize)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<VectorUtils.Geometry> | geoms | The list of Geometry objects, probably created with TessellateNodeHierarchy |
uint | rasterSize | Maximum size of the generated texture |
Returns
Type | Description |
---|---|
VectorUtils.TextureAtlas | The generated texture atlas |