SpineAnimation
Defined in: display/SpineAnimation.ts:18
Extends
_SpineAnimation
Constructors
new SpineAnimation()
new SpineAnimation(
props
?):SpineAnimation
Defined in: display/SpineAnimation.ts:22
Parameters
props?
Partial
<SpineProps
>
Returns
Overrides
_SpineAnimation.constructor
Properties
add
add:
object
Defined in: mixins/factory/Factory.ts:6
animatedSprite()
animatedSprite: (
props
?) =>AnimatedSprite
Parameters
props?
Partial
<AnimatedSpriteProps
>
Returns
bitmapText()
bitmapText: (
props
?) =>BitmapText
Parameters
props?
Partial
<TextProps
>
Returns
BitmapText
button()
button: (
props
?) =>Button
Parameters
props?
Partial
<ButtonProps
>
Returns
container()
container: (
props
?) =>Container
Parameters
props?
Partial
<ContainerProps
>
Returns
existing()
existing: <
TEntity
>(entity
,props
?) =>TEntity
Type Parameters
• TEntity
Parameters
entity
TEntity
props?
Partial
<ExistingProps
>
Returns
TEntity
flexContainer()
flexContainer: (
props
?) =>FlexContainer
Parameters
props?
Partial
<FlexContainerProps
>
Returns
graphics()
graphics: (
props
?) =>Graphics
Parameters
props?
Partial
<GraphicsProps
>
Returns
Graphics
htmlText()
htmlText: (
props
?) =>HTMLText
Parameters
props?
Partial
<HTMLTextProps
>
Returns
HTMLText
particleContainer()
particleContainer: (
props
?) =>ParticleContainer
Parameters
props?
Partial
<ParticleContainerProps
>
Returns
spine()
spine: (
props
?) =>Spine
Parameters
props?
Partial
<SpineProps
>
Returns
spineAnimation()
spineAnimation: (
props
?) =>SpineAnimation
Parameters
props?
Partial
<SpineProps
>
Returns
sprite()
sprite: (
props
?) =>Sprite
Parameters
props?
Partial
<SpriteProps
>
Returns
Sprite
text()
text: (
props
?) =>Text
Parameters
props?
Partial
<TextProps
>
Returns
Text
texture()
texture: (
props
?) =>Texture
=resolveTexture
Parameters
props?
Partial
<TextureProps
>
Returns
Texture
uiCanvas()
uiCanvas: (
props
?) =>UICanvas
Parameters
props?
Partial
<UICanvasFactoryProps
>
Returns
svg()
Parameters
props
WithRequiredProps
<SvgProps
, "ctx"
>
Returns
Inherited from
_SpineAnimation.add
make
make:
object
Defined in: mixins/factory/Factory.ts:7
animatedSprite()
animatedSprite: (
props
?) =>AnimatedSprite
Parameters
props?
Partial
<AnimatedSpriteProps
>
Returns
bitmapText()
bitmapText: (
props
?) =>BitmapText
Parameters
props?
Partial
<TextProps
>
Returns
BitmapText
button()
button: (
props
?) =>Button
Parameters
props?
Partial
<ButtonProps
>
Returns
container()
container: (
props
?) =>Container
Parameters
props?
Partial
<ContainerProps
>
Returns
existing()
existing: <
TEntity
>(entity
,props
?) =>TEntity
Type Parameters
• TEntity
Parameters
entity
TEntity
props?
Partial
<ExistingProps
>
Returns
TEntity
flexContainer()
flexContainer: (
props
?) =>FlexContainer
Parameters
props?
Partial
<FlexContainerProps
>
Returns
graphics()
graphics: (
props
?) =>Graphics
Parameters
props?
Partial
<GraphicsProps
>
Returns
Graphics
htmlText()
htmlText: (
props
?) =>HTMLText
Parameters
props?
Partial
<HTMLTextProps
>
Returns
HTMLText
particleContainer()
particleContainer: (
props
?) =>ParticleContainer
Parameters
props?
Partial
<ParticleContainerProps
>
Returns
spine()
spine: (
props
?) =>Spine
Parameters
props?
Partial
<SpineProps
>
Returns
spineAnimation()
spineAnimation: (
props
?) =>SpineAnimation
Parameters
props?
Partial
<SpineProps
>
Returns
sprite()
sprite: (
props
?) =>Sprite
Parameters
props?
Partial
<SpriteProps
>
Returns
Sprite
text()
text: (
props
?) =>Text
Parameters
props?
Partial
<TextProps
>
Returns
Text
texture()
texture: (
props
?) =>Texture
=resolveTexture
Parameters
props?
Partial
<TextureProps
>
Returns
Texture
uiCanvas()
uiCanvas: (
props
?) =>UICanvas
Parameters
props?
Partial
<UICanvasFactoryProps
>
Returns
svg()
Parameters
props
WithRequiredProps
<SvgProps
, "ctx"
>
Returns
Inherited from
_SpineAnimation.make
paused
paused:
boolean
Defined in: display/SpineAnimation.ts:20
signalConnections
signalConnections:
SignalConnections
Defined in: mixins/signals.ts:9
Inherited from
_SpineAnimation.signalConnections
spine
spine:
Spine
Defined in: display/SpineAnimation.ts:19
Accessors
animationNames
Get Signature
get animationNames():
string
[]
Defined in: display/SpineAnimation.ts:52
Returns
string
[]
app
Get Signature
get app():
IApplication
Defined in: display/SpineAnimation.ts:48
Returns
Methods
addSignalConnection()
addSignalConnection(…
args
):void
Defined in: mixins/signals.ts:13
Parameters
args
…SignalConnection
[]
Returns
void
Inherited from
_SpineAnimation.addSignalConnection
connectAction()
connectAction(…
args
):void
Defined in: mixins/signals.ts:15
Parameters
args
…SignalConnection
[]
Returns
void
Inherited from
_SpineAnimation.connectAction
connectSignal()
connectSignal(…
args
):void
Defined in: mixins/signals.ts:14
Parameters
args
…SignalConnection
[]
Returns
void
Inherited from
_SpineAnimation.connectSignal
getCurrentAnimation()
getCurrentAnimation(
trackIndex
):string
Defined in: display/SpineAnimation.ts:56
Parameters
trackIndex
number
= 0
Returns
string
setAnimation()
setAnimation(
name
,loop
,tracklndex
):void
Defined in: display/SpineAnimation.ts:60
Parameters
name
string
loop
boolean
= false
tracklndex
number
= 0
Returns
void