WheelResultOptions
pixi-wheels / index / WheelResultOptions
Interface: WheelResultOptions
Defined in: core/Wheel.ts:30
Options for wheel.setResult(): a ring plus the landing options.
Extends#
Properties#
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
anticipation? | AnticipationOptions | null | Bait the player with another section before landing. Default none. | LandingOptions.anticipation | config/types.ts:181 |
margin? | number | 'random' only: keep-away from the section edges as a fraction of its arc. Default 0.12. | LandingOptions.margin | config/types.ts:177 |
mode? | LandingMode | - | LandingOptions.mode | config/types.ts:175 |
ring? | string | - | - | core/Wheel.ts:31 |
settle? | | SettleMode | SettleConfig | What happens after the pointer reaches the landing angle. Default { mode: 'none' }. | LandingOptions.settle | config/types.ts:179 |