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](/zh-cn/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)
你有任何问题,或者需要我们帮你开发,请扫码联系
X