pixi-wheels

WheelSpinResult

pixi-wheels


pixi-wheels / index / WheelSpinResult

Interface: WheelSpinResult

Defined in: config/types.ts:342

What spin() resolves with.

Properties#

PropertyTypeDescriptionDefined in
durationnumberMilliseconds from spin() to spin:complete.config/types.ts:353
landingAnglenumberWheel-local angle (deg) under the pointer when the spin completed.config/types.ts:347
offsetnumberPosition within the section, 0..1.config/types.ts:349
ringstringThe ring that spun. 'main' for a single-ring wheel.config/types.ts:344
sectionResolvedSection-config/types.ts:345
turnsnumberFull turns the wheel made from spin() to landing, rounded down.config/types.ts:355
wasSkippedbooleanTrue when a skip or slam ended the spin early.config/types.ts:351