SpriteData
Defined in: renderer/src/SpriteComponent.ts:24
Serialisable snapshot of a SpriteComponent.
Extends
Section titled “Extends”Properties
Section titled “Properties”alpha?
Section titled “alpha?”
optionalalpha?:number
Defined in: renderer/src/VisualComponent.ts:73
Inherited from
Section titled “Inherited from”anchor?
Section titled “anchor?”
optionalanchor?:object
Defined in: renderer/src/SpriteComponent.ts:26
x:
number
y:
number
blendMode?
Section titled “blendMode?”
optionalblendMode?:BLEND_MODES
Defined in: renderer/src/VisualComponent.ts:76
Omitted while the object blends normally, which is the common case.
Inherited from
Section titled “Inherited from”effects?
Section titled “effects?”
optionaleffects?:EffectStackSnapshot
Defined in: renderer/src/VisualComponent.ts:83
Inherited from
Section titled “Inherited from”interactive?
Section titled “interactive?”
optionalinteractive?:VisualInteractiveOptions
Defined in: renderer/src/VisualComponent.ts:82
See VisualComponentOptions.interactive — persisted so restored
scenes keep eventMode and the consumeOnInteraction mark on the
rebuilt container.
Inherited from
Section titled “Inherited from”VisualComponentData.interactive
layer:
string
Defined in: renderer/src/VisualComponent.ts:71
Inherited from
Section titled “Inherited from”
optionalmask?:MaskSnapshot
Defined in: renderer/src/VisualComponent.ts:84
Inherited from
Section titled “Inherited from”textureKey
Section titled “textureKey”textureKey:
string
Defined in: renderer/src/SpriteComponent.ts:25
optionaltint?:ColorSource
Defined in: renderer/src/VisualComponent.ts:72
Inherited from
Section titled “Inherited from”visible?
Section titled “visible?”
optionalvisible?:boolean
Defined in: renderer/src/VisualComponent.ts:74