SpinePointerSkin
pixi-wheels / spine / SpinePointerSkin
Class: SpinePointerSkin
Defined in: spine/SpinePointerSkin.ts:31
A pointer that is a Spine skeleton: the studio’s own stopper, with its tick animation played on every divider crossing.
Implements#
Constructors#
Constructor#
new SpinePointerSkin(options: SpinePointerSkinOptions): SpinePointerSkin;
Defined in: spine/SpinePointerSkin.ts:39
Parameters#
| Parameter | Type |
|---|---|
options | SpinePointerSkinOptions |
Returns#
SpinePointerSkin
Properties#
Accessors#
isDestroyed#
Get Signature#
get isDestroyed(): boolean;
Defined in: spine/SpinePointerSkin.ts:71
Returns
boolean
Implementation of#
Methods#
destroy()#
destroy(): void;
Defined in: spine/SpinePointerSkin.ts:75
Returns#
void
Implementation of#
setDeflection()#
setDeflection(deg: number): void;
Defined in: spine/SpinePointerSkin.ts:52
Rotate the visual around the pin by deg (the flap).
Parameters#
| Parameter | Type |
|---|---|
deg | number |
Returns#
void
Implementation of#
tick()#
tick(): void;
Defined in: spine/SpinePointerSkin.ts:56
A divider just passed. Optional: skins with a “tick” animation play it here.
Returns#
void