pixi-wheels

WheelResultOptions

pixi-wheels


pixi-wheels / index / WheelResultOptions

Interface: WheelResultOptions

Defined in: core/Wheel.ts:30

Options for wheel.setResult(): a ring plus the landing options.

Extends#

Properties#

PropertyTypeDescriptionInherited fromDefined in
anticipation?AnticipationOptions | nullBait the player with another section before landing. Default none.LandingOptions.anticipationconfig/types.ts:181
margin?number'random' only: keep-away from the section edges as a fraction of its arc. Default 0.12.LandingOptions.marginconfig/types.ts:177
mode?LandingMode-LandingOptions.modeconfig/types.ts:175
ring?string--core/Wheel.ts:31
settle?| SettleMode | SettleConfigWhat happens after the pointer reaches the landing angle. Default { mode: 'none' }.LandingOptions.settleconfig/types.ts:179