abstreet/rustdoc/widgetry/mapspace/sidebar-items.js
2021-10-24 20:53:34 +00:00

1 line
987 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

initSidebarItems({"enum":[["WorldOutcome","The result of a `World` handling an event"]],"mod":[["unzoomed",""],["world",""]],"struct":[["DrawUnzoomedShapes","Draw `Circles` and `PolyLines` in map-space that scale their size as the canvas is zoomed. The goal is to appear with roughly constant screen-space size, but for the moment, this is approximated by discretizing into 10 buckets. The scaling only happens when the canvas is zoomed out less than a value of 1.0."],["DummyID","If you dont ever need to refer to objects in a `World`, you can auto-assign dummy IDs."],["ToggleZoomed","Draws one of two versions of something, based on whether the canvas is zoomed in past a threshold."],["ToggleZoomedBuilder",""],["World","A `World` manages objects that exist in “map-space”, the zoomable and pannable canvas. These objects can be drawn, hovered on, clicked, dragged, etc."]],"trait":[["ObjectID","Objects in a `World` are uniquely identified by this caller-specified type"]]});