pixi-wheels

PointerConfigEntry

pixi-wheels


pixi-wheels / index / PointerConfigEntry

Interface: PointerConfigEntry

Defined in: core/WheelConfig.ts:19

A pointer in a config: its placement plus a serialised skin.

Extends#

Properties#

PropertyTypeDescriptionInherited fromDefined in
angle?numberScreen angle in degrees. -90 is twelve o’clock (the default), 0 is three o’clock.PointerConfig.angleconfig/types.ts:428
facing?PointerFacing'inward' (default) sits on the rim with the tip pointing at the hub; 'outward' sits at the hub pointing out.PointerConfig.facingconfig/types.ts:430
flap?false | FlapConfigFlap physics against the ring’s pegs, or false to keep the pointer rigid.PointerConfig.flapconfig/types.ts:434
id?stringUnique id within the ring. Default 'pointer' for the first one.PointerConfig.idconfig/types.ts:426
skin?PointerSkinConfig--core/WheelConfig.ts:20
tipInset?numberHow far the tip reaches past the rim into the sections (or past the hub). Default 18.PointerConfig.tipInsetconfig/types.ts:432