Class: BatchableSprite
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:13
Internal
A batchable sprite object.
Extended by
Implements
Constructors
Constructor
> new BatchableSprite(): BatchableSprite
Returns
BatchableSprite
Properties
attributeSize
> readonly attributeSize: 4 = 4
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:16
The size of the attribute data for this quad element.
Implementation of
DefaultBatchableQuadElement.attributeSize
batcherName
> batcherName: string
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:14
The name of the batcher to use. Must be registered.
Implementation of
DefaultBatchableQuadElement.batcherName
bounds
> bounds: BoundsData
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:22
The bounds data for this quad element.
Implementation of
DefaultBatchableQuadElement.bounds
indexSize
> readonly indexSize: 6 = 6
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:17
The size of the index data for this quad element.
Implementation of
DefaultBatchableQuadElement.indexSize
packAsQuad
> readonly packAsQuad: true = true
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:18
Indicates that this element should be packed as a quad.
Implementation of
DefaultBatchableQuadElement.packAsQuad
renderable
> renderable: Container
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:20
roundPixels
> roundPixels: 0 | 1
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:23
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.
Implementation of
DefaultBatchableQuadElement.roundPixels
texture
> texture: Texture
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:21
The texture to be used for rendering.
Implementation of
DefaultBatchableQuadElement.texture
topology
> topology: Topology
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:15
The topology to be used for rendering.
Implementation of
DefaultBatchableQuadElement.topology
transform
> transform: Matrix
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:19
The transform matrix of the element. This matrix represents the position, scale, rotation, and skew of the element.
Implementation of
DefaultBatchableQuadElement.transform
Accessors
blendMode
Get Signature
> get blendMode(): BLEND_MODES
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:29
The blend mode to be applied.
Returns
The blend mode to be applied.
Implementation of
DefaultBatchableQuadElement.blendMode
color
Get Signature
> get color(): number
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:30
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.
Returns
number
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.
Implementation of
DefaultBatchableQuadElement.color
Methods
destroy()
> destroy(): void
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:32
Returns
void
Implementation of
reset()
> reset(): void
Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:31
Returns
void