tangents

Specifies the vertex tangents. Stride is the byte offset between consecutive tangents.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of tangent vectors, each with 4 floats (the 4th component is the sign of the bitangent).

stride

Byte offset between consecutive tangents. 0 means tightly packed.