Interface: IParticle

IParticle

Represents a particle with properties for position, scale, rotation, color, and texture.

Properties:
Name Type Description
anchorX number

The x-coordinate of the anchor point.

anchorY number

The y-coordinate of the anchor point.

color number

The color of the particle as a hexadecimal number.

rotation number

The rotation of the particle in radians.

scaleX number

The scale factor in the x-axis.

scaleY number

The scale factor in the y-axis.

texture Texture

The texture of the particle.

x number

The x-coordinate of the particle.

y number

The y-coordinate of the particle.

Members

anchorX number

The x-coordinate of the anchor point.

anchorY number

The y-coordinate of the anchor point.

color number

The color of the particle as a hexadecimal number.

rotation number

The rotation of the particle in radians.

scaleX number

The scale factor in the x-axis.

scaleY number

The scale factor in the y-axis.

texture Texture

The texture of the particle.

x number

The x-coordinate of the particle.

y number

The y-coordinate of the particle.