RadialMenu and bindRadialTrigger: a ring menu with submenus.
import { RadialMenu, bindRadialTrigger } from 'pixi-silk/ui/radial';
Classes#
| Class | Description |
|---|
| RadialMenu | Pie / marking menu, the compact kind used in 3D, paint and modelling tools. |
Interfaces#
Type Aliases#
Variables#
| Variable | Description |
|---|
| RADIAL_THEME | Default theme: light segments with dark icons and a blue accent, meant for dark scenes. |
Functions#
| Function | Description |
|---|
| bindRadialTrigger | Makes target open menu (which must already be on the stage). Sets the target’s eventMode to static when it was not interactive. Returns a function that unbinds it. |
References#
angleDelta#
Re-exports angleDelta