Skip to content

TilingSpriteProps

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

[key: string]: any

alpha: number

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

SpriteProps.alpha


anchor: PointLike

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

SpriteProps.anchor


optional applyAnchorToTexture: boolean

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

false

asset: TextureAsset

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

SpriteProps.asset


optional height: number

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

The height of the tiling sprite.

256

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

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

SpriteProps.layout


position: PointLike

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

SpriteProps.position


optional roundPixels: boolean

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

Whether or not to round the x/y position.


scale: PointLike

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

SpriteProps.scale


scaleX: number

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

SpriteProps.scaleX


scaleY: number

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

SpriteProps.scaleY


sheet: SpritesheetAsset

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

SpriteProps.sheet


optional tilePosition: PointLike

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


optional tileRotation: number

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

The rotation of the image that is being tiled.

0

optional tileScale: PointLike

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

Scaling of the image that is being tiled.

{x: 1, y: 1}

visible: boolean

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

SpriteProps.visible


optional width: number

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

The width of the tiling sprite. #

256

x: number

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

SpriteProps.x


y: number

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

SpriteProps.y