Skip to main content

spine-base.spine

Home > @eva/spine-base > Spine

Spine class

Signature:
export default class Spine extends Component<SpineParams> 
Extends: Component<[SpineParams](/docs/api/spine-base.spineparams)>

Properties

PropertyModifiersTypeDescription
addHandlerany
animationNamestring
armatureany
autoPlayboolean
componentNamestaticstring
destroiedboolean
lastResourcestring
resourcestring

Methods

MethodModifiersDescription
addAnimation(name, delay, loop, track)
getAnim(track)
getBone(boneName)
init(obj)
onDestroy()
play(name, loop, track)
setAttachment(slotName, attachmentName)
setDefaultMix(duration)
setMix(from, to, duration)
stop(track)