Skip to content

TilingSpriteProps

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

Extends

Indexable

[key: string]: any

Properties

alpha

alpha: number

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

Inherited from

SpriteProps.alpha


anchor

anchor: PointLike

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

Inherited from

SpriteProps.anchor


applyAnchorToTexture?

optional applyAnchorToTexture: boolean

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

Todo

Default

false

asset

asset: TextureLike

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

Inherited from

SpriteProps.asset


height?

optional height: number

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

The height of the tiling sprite.

Default

256

position

position: PointLike

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

Inherited from

SpriteProps.position


roundPixels?

optional roundPixels: boolean

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

Whether or not to round the x/y position.


scale

scale: PointLike

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

Inherited from

SpriteProps.scale


scaleX

scaleX: number

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

Inherited from

SpriteProps.scaleX


scaleY

scaleY: number

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

Inherited from

SpriteProps.scaleY


sheet

sheet: SpriteSheetLike

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

Inherited from

SpriteProps.sheet


tilePosition?

optional tilePosition: PointLike

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


tileRotation?

optional tileRotation: number

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

The rotation of the image that is being tiled.

Default

0

tileScale?

optional tileScale: PointLike

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

Scaling of the image that is being tiled.

Default

{x: 1, y: 1}

visible

visible: boolean

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

Inherited from

SpriteProps.visible


width?

optional width: number

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

The width of the tiling sprite. #

Default

256

x

x: number

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

Inherited from

SpriteProps.x


y

y: number

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

Inherited from

SpriteProps.y