기술 자료

Unity Engine

Unity Engine

GenerateAtlasAndFillUVs(IEnumerable<Geometry>, uint)

Generates a Texture2D atlas containing the textures and gradients for the vector geometry, and fill the UVs of the geometry.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static VectorUtils.TextureAtlas GenerateAtlasAndFillUVs(IEnumerable<VectorUtils.Geometry> geoms, uint rasterSize)

Parameters

The list of Geometry objects, probably created with TessellateNodeHierarchy

rasterSize

Maximum size of the generated texture

Returns

Type

Description

TextureAtlasThe generated texture atlas