Jazz2::Editor::EventGizmo struct

A handle in the view that changes a parameter of an event by dragging it.

Handles are where the parameter puts something in the level — the edge of the light, the end of a bridge, the water line — so dragging one there shows what the event does as it's changed.

Public variables

EventGizmoKind Kind
What it changes.
std::uint8_t Field
The parameter, an index to the fields of the event in the catalog, the first field of the group of EventGizmoKind::Direction.
std::uint8_t SecondField
The second parameter of EventGizmoKind::Offset, the vertical one.
Vector2f World
Where the handle is in the level.
Vector2f Anchor
Where the handle is measured from in the level, as the center of a light.