Skip to content

@fibbojs / 2d / FSpriteOptions

Interface: FSpriteOptions

Extends

Properties

addToScene?

optional addToScene: boolean

Inherited from

FComponentOptions.addToScene

Defined in

core/dist/index.d.ts:178


position?

optional position: object

x

x: number

y

y: number

Inherited from

FComponentOptions.position

Defined in

2d/src/core/FComponent.ts:16


rotation?

optional rotation: number

Inherited from

FComponentOptions.rotation

Defined in

2d/src/core/FComponent.ts:17


rotationDegree?

optional rotationDegree: number

Inherited from

FComponentOptions.rotationDegree

Defined in

2d/src/core/FComponent.ts:18


scale?

optional scale: object

x

x: number

y

y: number

Inherited from

FComponentOptions.scale

Defined in

2d/src/core/FComponent.ts:19


texture

texture: string

Defined in

2d/src/sprite/FSprite.ts:8