UnwrapPrimitivesOptions

Options for the unwrapPrimitives function.

Properties

overwrite: boolean

Whether to overwrite existing attributes at the target texCoord index, if any. Default: false.

texcoord: number

Target texture coordinate index (0, 1, 2, ...) for generated unwrapping. Default: 0.

watlas: unknown

watlas instance.

weights: number[]

Per-primitive texel density weights. Texel space in the atlas is allocated proportionally with geometry dimensions in local space. If specified, weights scale the allocation. Default: [1, 1, 1, ...].

Function symbol, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.