跳转到内容

UnwrapResult

此内容尚不支持你的语言。

Defined in: lightmap/unwrap.ts:28

Gives a mesh the second UV set a baked lightmap is read through — no two surfaces on one texel, which the UV set the art is wrapped in does not promise. An import calls it; so would a tool that unwraps geometry it generated.

Pre-1.0: the options will follow what a baker turns out to need.

charts: number

Defined in: lightmap/unwrap.ts:33


coverage: number

Defined in: lightmap/unwrap.ts:36

Fraction of the unit square the charts occupy. What is left is the price of packing rectangles, and of the padding that keeps them apart.


mesh: MeshData

Defined in: lightmap/unwrap.ts:32

The mesh with a TexCoord1 channel. Has MORE vertices than the input wherever a chart boundary runs through one — a vertex on a seam holds a different lightmap UV for each side of it.