WheelConfig
pixi-wheels / index / WheelConfig
Interface: WheelConfig
Defined in: core/WheelConfig.ts:46
A whole wheel as JSON. What the studio exports, what
WheelBuilder.fromConfig() builds from, and what builder.toConfig()
gives back. Asset references (textures, Spine aliases) are string keys
resolved at build time.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
adapter? | TargetAdapterConfig | How to read a target out of the game server’s response. Informational for the library; the studio’s example uses it. | core/WheelConfig.ts:58 |
direction? | SpinDirection | - | core/WheelConfig.ts:50 |
idle? | IdleConfig | - | core/WheelConfig.ts:55 |
initialSpeed? | string | - | core/WheelConfig.ts:52 |
landing? | LandingOptions | - | core/WheelConfig.ts:53 |
name? | string | Human name, for the studio’s gallery. | core/WheelConfig.ts:49 |
rings | RingConfig[] | - | core/WheelConfig.ts:56 |
skip? | SkipConfig | - | core/WheelConfig.ts:54 |
speeds? | Record<string, SpinProfile> | - | core/WheelConfig.ts:51 |
version | 1 | - | core/WheelConfig.ts:47 |