Skip to content

TilingSpriteProps

Defined in: mixins/factory/props.ts:60

[key: string]: any

alpha: number

Defined in: mixins/factory/props.ts:34

SpriteProps.alpha


anchor: PointLike

Defined in: mixins/factory/props.ts:57

SpriteProps.anchor


optional applyAnchorToTexture: boolean

Defined in: mixins/factory/props.ts:89

false

asset: TextureLike

Defined in: mixins/factory/props.ts:13

SpriteProps.asset


optional height: number

Defined in: mixins/factory/props.ts:85

The height of the tiling sprite.

256

optional layout: null | boolean | Omit<LayoutOptions, "target">

Defined in: mixins/factory/props.ts:39

SpriteProps.layout


position: PointLike

Defined in: mixins/factory/props.ts:20

SpriteProps.position


optional roundPixels: boolean

Defined in: mixins/factory/props.ts:91

Whether or not to round the x/y position.


scale: PointLike

Defined in: mixins/factory/props.ts:26

SpriteProps.scale


scaleX: number

Defined in: mixins/factory/props.ts:24

SpriteProps.scaleX


scaleY: number

Defined in: mixins/factory/props.ts:25

SpriteProps.scaleY


sheet: SpriteSheetLike

Defined in: mixins/factory/props.ts:14

SpriteProps.sheet


optional tilePosition: PointLike

Defined in: mixins/factory/props.ts:61


optional tileRotation: number

Defined in: mixins/factory/props.ts:71

The rotation of the image that is being tiled.

0

optional tileScale: PointLike

Defined in: mixins/factory/props.ts:66

Scaling of the image that is being tiled.

{x: 1, y: 1}

visible: boolean

Defined in: mixins/factory/props.ts:35

SpriteProps.visible


optional width: number

Defined in: mixins/factory/props.ts:80

The width of the tiling sprite. #

256

x: number

Defined in: mixins/factory/props.ts:18

SpriteProps.x


y: number

Defined in: mixins/factory/props.ts:19

SpriteProps.y