Interface: SpriteOptions

SpriteOptions

Options for the Sprite constructor.

Properties:
Name Type Description
anchor PointData | number

The anchor point of the sprite.

roundPixels boolean

Whether or not to round the x/y position.

texture Texture

The texture to use for the sprite.

Extends

Members

anchor PointData | number

The anchor point of the sprite.

roundPixels boolean

Whether or not to round the x/y position.

texture Texture

The texture to use for the sprite.