Class SpineRuntimeObjectPixiRenderer
Hierarchy
- SpineRuntimeObjectPixiRenderer
Methods
getAnimationDuration
- getAnimationDuration(sourceAnimationName: string): number
Parameters
sourceAnimationName: string
Returns number
getAnimationElapsedTime
- getAnimationElapsedTime(): number
getPointAttachmentPosition
- getPointAttachmentPosition(attachmentName: string, slotName?: string): Vector2
Parameters
attachmentName: string
Optional slotName: string
Returns Vector2
getRendererObject
- getRendererObject(): Container<DisplayObject> | Spine
Returns Container<DisplayObject> | Spine
getUnscaledHeight
- getUnscaledHeight(): number
getUnscaledWidth
- getUnscaledWidth(): number
isAnimationComplete
- isAnimationComplete(): boolean
setAnimation
- setAnimation(animation: string, loop: boolean): void
Parameters
animation: string
loop: boolean
Returns void
setAnimationElapsedTime
- setAnimationElapsedTime(time: number): void
setHeight
- setHeight(height: number): void
setMixing
- setMixing(from: string, to: string, duration: number): void
Parameters
from: string
to: string
duration: number
Returns void
setWidth
- setWidth(width: number): void
updateAnimation
- updateAnimation(timeDelta: number): void
Private constructRendererObject
- constructRendererObject(): Container<DisplayObject> | Spine
Returns Container<DisplayObject> | Spine
The object to render