TransformGizmo: move, rotate, scale and box handles.
import { TransformGizmo } from 'pixi-silk/ui/gizmo';
Classes#
| Class | Description |
|---|
| TransformGizmo | Transform handles for editors: move, rotate, scale and a bounding box with resize and rotate handles. |
Interfaces#
Type Aliases#
| Type Alias | Description |
|---|
| GizmoHandle | A grabbable part of the gizmo. |
| GizmoMode | Which tools the gizmo shows. universal combines move, rotate and scale. |
| GizmoSpace | Axes of move handles: the object’s own (local) or its parent’s (world). |
Variables#
| Variable | Description |
|---|
| GIZMO_THEME | Default theme: red X, green Y, blue rotate and free move, white box handles, yellow while dragged. |