artDirection? | "left" | "right" | "up" | "down" | Which way the art points in the source image. Default 'up' (tip at the top edge), the way most pointer sprites are drawn. | pointer/TexturePointerSkin.ts:10 |
length? | number | Pin-to-tip distance after scaling. Defaults to the distance from the pin to the texture edge the tip is on. | pointer/TexturePointerSkin.ts:23 |
pin? | { x: number; y: number; } | The pin position in the texture as fractions of its size. Default { x: 0.5, y: 0.85 } for 'up' art (near the base). Rotated along with artDirection when left unset. | pointer/TexturePointerSkin.ts:16 |
pin.x | number | - | pointer/TexturePointerSkin.ts:16 |
pin.y | number | - | pointer/TexturePointerSkin.ts:16 |
scale? | number | Uniform scale applied to the sprite. Default 1. | pointer/TexturePointerSkin.ts:18 |
texture | Texture | - | pointer/TexturePointerSkin.ts:5 |