pixi-wheels

RingSkinContext

pixi-wheels


pixi-wheels / index / RingSkinContext

Interface: RingSkinContext

Defined in: skins/RingSkin.ts:7

What a ring hands its skin when the skin is attached.

Properties#

PropertyModifierTypeDescriptionDefined in
directionpublicSpinDirection-skins/RingSkin.ts:16
discpublicContainerRotates with the wheel. Sections, labels, the face texture live here.skins/RingSkin.ts:13
geometrypublicRingGeometry-skins/RingSkin.ts:9
innerRadiuspublicnumber-skins/RingSkin.ts:11
outerRadiuspublicnumber-skins/RingSkin.ts:10
overlaypublicContainerDoes not rotate. Rim decoration, hub caps, anything fixed. Pointers are added by the ring, above this.skins/RingSkin.ts:15
pegsreadonlyResolvedPegs | nullThe ring’s pegs, live: re-read in layout(), since dynamic sections move them. Null when the ring has none.skins/RingSkin.ts:20
pointerAnglespublicreadonly number[]Screen angles of the ring’s pointers, for skins that mark them.skins/RingSkin.ts:18
ringIdpublicstring-skins/RingSkin.ts:8