TestWheelOptions
pixi-wheels / testing / TestWheelOptions
Interface: TestWheelOptions
Defined in: testing/testHarness.ts:47
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
direction? | SpinDirection | - | testing/testHarness.ts:52 |
dynamic? | DynamicSectionsConfig | - | testing/testHarness.ts:61 |
idle? | IdleConfig | - | testing/testHarness.ts:60 |
innerRadius? | number | - | testing/testHarness.ts:51 |
landing? | LandingOptions | - | testing/testHarness.ts:58 |
pointers? | PointerConfig[] | Pointer placements. Default one at -90. | testing/testHarness.ts:55 |
profile? | SpinProfile | Spin profile registered as 'normal'. Default SpinPresets.NORMAL. | testing/testHarness.ts:57 |
radius? | number | - | testing/testHarness.ts:50 |
rings? | { direction?: SpinDirection; id: string; innerRadius: number; outerRadius: number; pointers?: PointerConfig[]; sections: WheelSectionConfig[]; }[] | Extra rings. Each gets the headless skin and pointer. | testing/testHarness.ts:63 |
rng? | () => number | Random source. Default a fixed seeded generator, so tests are deterministic. | testing/testHarness.ts:65 |
sections? | number | WheelSectionConfig[] | Sections, or a count of equal sections named s0..sN-1 with value: index. Default 8. | testing/testHarness.ts:49 |
skip? | SkipConfig | - | testing/testHarness.ts:59 |
startAngle? | number | - | testing/testHarness.ts:53 |