pixi-jsFunctions
Function: buildUvs()
> buildUvs(vertices, verticesStride, verticesOffset, uvs, uvsOffset, uvsStride, size, matrix?): void
Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/geometry/utils/buildUvs.d.ts:15
Internal
Takes a vertices array and a matrix and transforms the vertices based on the matrix. this out put is written to the uvs array
Parameters
vertices
number[]
the vertices to calculate uvs from
verticesStride
number
the stride of the vertice
verticesOffset
number
the offset of the vertices
uvs
number[]
the uvs to fill
uvsOffset
number
the offset of the uvs
uvsStride
number
the stride of the uvs
size
number
the size of the vertices
matrix?
the matrix to apply to the uvs
Returns
void