LogoPixi’VN
pixi-jsInterfaces

Interface: MeshGeometryOptions

Defined in: node_modules/pixi.js/lib/scene/mesh/shared/MeshGeometry.d.ts:9

Options for the mesh geometry.

Advanced

Properties

indices?

> optional indices?: Uint32Array<ArrayBufferLike>

Defined in: node_modules/pixi.js/lib/scene/mesh/shared/MeshGeometry.d.ts:15

The indices of the mesh.


positions?

> optional positions?: Float32Array<ArrayBufferLike>

Defined in: node_modules/pixi.js/lib/scene/mesh/shared/MeshGeometry.d.ts:11

The positions of the mesh.


shrinkBuffersToFit?

> optional shrinkBuffersToFit?: boolean

Defined in: node_modules/pixi.js/lib/scene/mesh/shared/MeshGeometry.d.ts:19

Whether to shrink the buffers to fit the data.


topology?

> optional topology?: Topology

Defined in: node_modules/pixi.js/lib/scene/mesh/shared/MeshGeometry.d.ts:17

The topology of the mesh.


uvs?

> optional uvs?: Float32Array<ArrayBufferLike>

Defined in: node_modules/pixi.js/lib/scene/mesh/shared/MeshGeometry.d.ts:13

The UVs of the mesh. If not provided, they will be filled with 0 and match the size of the positions.