RingSkinContext
pixi-wheels / index / RingSkinContext
Interface: RingSkinContext
Defined in: skins/RingSkin.ts:7
What a ring hands its skin when the skin is attached.
Properties#
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
direction | public | SpinDirection | - | skins/RingSkin.ts:16 |
disc | public | Container | Rotates with the wheel. Sections, labels, the face texture live here. | skins/RingSkin.ts:13 |
geometry | public | RingGeometry | - | skins/RingSkin.ts:9 |
innerRadius | public | number | - | skins/RingSkin.ts:11 |
outerRadius | public | number | - | skins/RingSkin.ts:10 |
overlay | public | Container | Does not rotate. Rim decoration, hub caps, anything fixed. Pointers are added by the ring, above this. | skins/RingSkin.ts:15 |
pegs | readonly | ResolvedPegs | null | The ring’s pegs, live: re-read in layout(), since dynamic sections move them. Null when the ring has none. | skins/RingSkin.ts:20 |
pointerAngles | public | readonly number[] | Screen angles of the ring’s pointers, for skins that mark them. | skins/RingSkin.ts:18 |
ringId | public | string | - | skins/RingSkin.ts:8 |