TangentsOptions

Options for the tangents function.

Properties

generateTangents: (pos: Float32Array, norm: Float32Array, uv: Float32Array) => Float32Array

Callback function to generate tangents from position, uv, and normal attributes. Generally, users will want to provide the generateTangents from the mikktspace library, which is not included by default.

overwrite: boolean

Whether to overwrite existing TANGENT attributes.

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.