Interface: DefaultBatchableMeshElement
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/DefaultBatcher.d.ts:45
Represents a batchable mesh element with default batch properties.
Advanced
Extends
Properties
attributeOffset
> attributeOffset: number
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:181
The offset in the attribute buffer.
Inherited from
BatchableMeshElement.attributeOffset
attributeSize
> attributeSize: number
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:80
The size of the attribute data.
Inherited from
BatchableMeshElement.attributeSize
batcherName
> batcherName: string
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:60
The name of the batcher to use. Must be registered.
Inherited from
BatchableMeshElement.batcherName
blendMode
> blendMode: BLEND_MODES
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:70
The blend mode to be applied.
Inherited from
BatchableMeshElement.blendMode
color
> color: number
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/DefaultBatcher.d.ts:19
The color of the element that will be multiplied with the texture color. This is typically represented as a 32-bit integer in RGBA format.
Inherited from
indexOffset
> indexOffset: number
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:176
The offset in the index buffer.
Inherited from
BatchableMeshElement.indexOffset
indexSize
> indexSize: number
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:75
The size of the index data.
Inherited from
BatchableMeshElement.indexSize
indices
> indices: number[] | Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:171
The indices of the mesh.
Inherited from
packAsQuad
> packAsQuad: false
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:186
Indicates that this element should not be packed as a quad.
Inherited from
BatchableMeshElement.packAsQuad
positions
> positions: number[] | Float32Array<ArrayBufferLike>
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:166
The vertex positions of the mesh.
Inherited from
BatchableMeshElement.positions
roundPixels
> roundPixels: 0 | 1
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/DefaultBatcher.d.ts:26
Determines whether the element should be rounded to the nearest pixel.
- 0: No rounding (default)
- 1: Round to nearest pixel This can help with visual consistency, especially for pixel art styles.
Inherited from
DefaultBatchElements.roundPixels
texture
> texture: Texture
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:65
The texture to be used for rendering.
Inherited from
topology
> topology: Topology
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:85
The topology to be used for rendering.
Inherited from
transform
> transform: Matrix
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/DefaultBatcher.d.ts:31
The transform matrix of the element. This matrix represents the position, scale, rotation, and skew of the element.
Inherited from
DefaultBatchElements.transform
uvs
> uvs: number[] | Float32Array<ArrayBufferLike>
Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:161
The UV coordinates of the mesh.