unwrapLightmapUV
unwrapLightmapUV(
mesh,options?):UnwrapResult
Defined in: lightmap/unwrap.ts:77
Gives mesh a lightmap UV set, splitting vertices where charts meet.
Every per-vertex datum follows its vertex, morph deltas included, so the result is the same mesh — drawn, skinned and shaped identically — that now also carries somewhere to read a bake from.
Parameters
Section titled “Parameters”options?
Section titled “options?”UnwrapOptions = {}