LogoPixi’VN
pixi-jsFunctions

Function: transformVertices()

> transformVertices(vertices, m, offset?, stride?, size?): void

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/geometry/utils/transformVertices.d.ts:12

Internal

Transforms the vertices in an array with the given matrix.

Parameters

vertices

number[]

the vertices to transform

m

Matrix

the matrix to apply to the vertices

offset?

number

the offset of the vertices (defaults to 0)

stride?

number

the stride of the vertices (defaults to 2)

size?

number

the size of the vertices (defaults to vertices.length / stride - offset)

Returns

void