Skip to content

API reference

The types you are meant to use in Waybranch, grouped by what they are for rather than by namespace. 284 types.

This generated reference covers the base package. Separately versioned optional modules, including OptionalDemos, are documented by their own installation guides.

What is not listed here

65 further types are public in the source but left out of this reference. They are public only because internal is per-assembly in C# and the package spans several assemblies -- plumbing, not API. They carry [EditorBrowsable(Never)] in the source to say so. Nothing you need is hidden: if a documented type exposes it, it is documented too.

Start here

The types a new project meets first.

Type Area What it is for
LayeredMapGenerator Getting a map Generator version 1.
MapExplorationSession Traversal and progression Bidirectional exploration over the immutable graph, independent from MapSession.
MapExperiencePreset Authoring assets Authoring configuration for a runtime map experience.
MapRulesAsset Authoring assets The inspector-authored ruleset every Waybranch map is generated from: how many nodes each layer may hold, which node types may appear and how often they are chosen, the zones that ...
CanvasMapPresenter Presentation and views Draws a map inside a uGUI Canvas.
MapExperienceHost Presentation and views Owns a map session independently of its renderer, preserving legacy forward saves.
MapTraversalController Presentation and views The scene component that owns one traversal run: it holds the graph, the progression, and the compiled content, applies every move through a MapSession, and reports what happened...
WaybranchMapHost Presentation and views Designer-first scene host for one complete Waybranch run.
WorldMapPresenter Presentation and views Draws a map as ordinary scene objects rather than UI.
MapGraph Graph, layout and geometry An immutable graph snapshot.

Every type

Filter as you type

Start typing in the box below to narrow the table. Use the search icon in the header to search the whole site instead.

Type Kind Area What it is for
EdgeGenerationOverride struct Getting a map One authored constraint on a single slot-to-slot connection: require it and fix the ID the edge will carry, or forbid it.
EdgeOverrideDisposition enum Getting a map Whether an edge override demands a connection or bans one.
LayeredMapGenerator class Getting a map Generator version 1.
MapGenerationFailureKind enum Getting a map Why a generation attempt returned no graph, as reported by MapGenerationResult.FailureKind.
MapGenerationMode enum Getting a map How much of a map a generation request may invent for itself, and therefore what role MapGenerationOverrides plays: Procedural rejects overrides outright, Manual builds nothing t...
MapGenerationOverrides class Getting a map The complete set of authoring overrides carried by one generation request: pinned nodes and edge dispositions, copied out of the sequences you pass and sorted into canonical order,...
MapGenerationRequest class Getting a map Everything one generation attempt needs, in one immutable object: the compiled rules, the seed, how much of the map the generator may invent, the authoring overrides it must honour...
MapGenerationResult class Getting a map The single outcome of a generation attempt: on success a complete graph and its MapGenerationManifest, on failure a MapGenerationFailureKind naming what went wrong, and either ...
MapGenerationSearchOptions class Getting a map The work a single generation attempt may spend, as one positive cap per search phase.
MapGenerationStatistics class Getting a map What one generation attempt actually cost, counted against MapGenerationSearchOptions.
PinnedNodeFields enum Getting a map Which of a pinned node's authored values the generator must reproduce exactly.
PinnedNodeOverride struct Getting a map One authored node pinned to a map slot: the identity that slot must hold, plus whichever of its type, position, and payload the generator is not free to choose.
MapDataPayload class Traversal and progression Generic tagged data for traversal results and customer-owned save metadata.
MapExplorationFailureKind enum Traversal and progression Reason an exploration command was refused.
MapExplorationOptions class Traversal and progression Configuration for bidirectional exploration.
MapExplorationResult class Traversal and progression Outcome of an exploration command.
MapExplorationSession class Traversal and progression Bidirectional exploration over the immutable graph, independent from MapSession.
MapExplorationState class Traversal and progression Immutable exploration snapshot.
MapExplorationVisit class Traversal and progression An immutable record of one arrival at a node.
MapNodeCompletion class Traversal and progression One finished node paired with whatever the game reported for it.
MapProgressionState class Traversal and progression An immutable traversal snapshot.
MapSession class Traversal and progression Standalone traversal orchestration over immutable graph and progression snapshots.
MapTransitionEvent class Traversal and progression One immutable thing that happened during a traversal transition: a node was entered or completed, the choosable set changed, or the run ended.
MapTransitionEventKind enum Traversal and progression What one MapTransitionEvent reports.
MapTransitionFailureKind enum Traversal and progression Why a transition was refused.
MapTransitionResult class Traversal and progression The outcome of one attempted transition: whether it was applied, the progression state on each side of it, the ordered events it produced, and its diagnostics.
CompiledMapNodeType class Authoring assets One node type after compilation: an immutable bundle of its parsed StableId, its fallback display strings, the prefabs, icon, and per-state colors a view draws it with, and its d...
CompiledMapTheme class Authoring assets One map theme after compilation: the spacing a map is laid out with, the colors and edge geometry it is drawn with, the zoom range a view may offer, and how long a state change tak...
MapAuthoringCompiler class Authoring assets Turns authoring assets into the immutable compiled types the runtime works with: node types, themes, rule snapshots, and blueprints.
MapBlueprintAsset class Authoring assets The saved form of one map: the rules it came from, the mode and seed it was generated with, the complete node and edge rows the editor persisted, the budgets a regeneration is allo...
MapBlueprintCompilation class Authoring assets The result of compiling one MapBlueprintAsset: everything a generation request needs -- rules, mode, seed, overrides, and search budgets -- plus the graph the blueprint authored,...
MapConstraintAsset class Authoring assets The ScriptableObject base for a generation rule of your own: subclass it, author whatever fields the rule needs in the Inspector, and hand back an IMapConstraint that judges a ma...
MapDefaultFont class Authoring assets The font the built-in views set their text in when nothing names one: the names on a map when neither the experience preset nor the style names a font, the demo HUD of the experien...
MapEdgeGeometryKind enum Authoring assets How a route between two nodes is shaped when the built-in views sample it.
MapExperienceArt class Authoring assets Pictures a flat presentation draws instead of its generated shapes: a backdrop (Canvas and UI Toolkit) with a frame and ornaments (Canvas), layered scenery (World2D), and one medal...
MapExperienceArtLayer class Authoring assets A wide picture behind a world map that always covers the screen width, optionally drifting a little when the map is panned.
MapExperienceArtOrnament class Authoring assets A picture placed against the screen behind a map, such as a compass rose in a corner.
MapExperienceArtPlateStates enum Authoring assets The node states whose caption is drawn on a plate.
MapExperienceAssetMapping class Authoring assets Maps authored node types to optional presentation assets without coupling Core to Unity objects.
MapExperienceBackend enum Authoring assets Presentation backend selected by a map experience preset.
MapExperienceInteractionOptions struct Authoring assets Inspector-editable interaction settings shared by all presentation backends.
MapExperienceNodePlacement class Authoring assets Optional presentation offset that never changes the graph or its stable IDs.
MapExperiencePreset class Authoring assets Authoring configuration for a runtime map experience.
MapExperienceProgressionPolicy enum Authoring assets Progression policy selected by an experience.
MapExperienceRouteAppearance struct Authoring assets Optional route appearance override carried by an experience preset.
MapExperienceRuntimeOptions class Authoring assets Detached experience settings used by a host while a preset remains unchanged.
MapExperienceVisualPreset enum Authoring assets Small set of ready-to-style starting looks for a new experience.
MapFlowDirection enum Authoring assets Where the map's progress runs on the screen.
MapLayoutOrientation enum Authoring assets Which axis a map's layers advance along once it is laid out.
MapNodeTypeAsset class Authoring assets One kind of node a map may contain: its stable identity, the label and tooltip shown for it, the prefabs, icon, and per-state colors the built-in views draw it with, and the defaul...
MapNodeTypeCompilation class Authoring assets The result of compiling one MapNodeTypeAsset: the immutable node type on success, and in every case the diagnostics the compiler gathered.
MapPropertyAuthoring class Authoring assets One authored row of a tagged property: its key, which kind of value it holds, and three value fields to hold it -- a numeric one shared by the boolean, integer, and fixed-point kin...
MapRulesAsset class Authoring assets The inspector-authored ruleset every Waybranch map is generated from: how many nodes each layer may hold, which node types may appear and how often they are chosen, the zones that ...
MapRulesCompilation class Authoring assets The result of compiling one MapRulesAsset: the rule snapshot a generator can be handed, every node type those rules referenced, and the diagnostics the compiler gathered.
MapShape enum Authoring assets How a ruleset builds its maps.
MapThemeAsset class Authoring assets The authored asset that decides how a generated map is laid out and drawn: layer and node spacing, which axis the layers run along, how edges are shaped, the two colours the built-...
MapThemeCompilation class Authoring assets The result of compiling one MapThemeAsset: the immutable theme on success, and in every case the diagnostics the compiler gathered.
MapThemeLimits class Authoring assets The ceilings a map theme is compiled against.
CompiledMapStyle class Styling and appearance The immutable style the views read.
IMapStyledView interface Styling and appearance Implemented by a view that can be dressed by a map style and advanced by a visual clock.
MapBackdropTokens struct Styling and appearance The backdrop drawn behind the map.
MapEasing enum Styling and appearance Easing curve for a styled transition.
MapEdgeCap enum Styling and appearance End treatment for a drawn edge.
MapEdgeStyleTokens struct Styling and appearance How routes between nodes are drawn.
MapFillMode enum Styling and appearance How a surface fills its area.
MapFitMode enum Styling and appearance How the map is fitted into the area it is given.
MapFramingTokens struct Styling and appearance Where the map sits inside the area it is given, and how far the player may pan and zoom.
MapMotionTokens struct Styling and appearance Transition timings.
MapNodeShape enum Styling and appearance Silhouette drawn for a map node.
MapNodeStateStyle struct Styling and appearance Per-state treatment layered over the shared node style.
MapNodeStyleTokens struct Styling and appearance Shape and size shared by every node before per-state treatment.
MapPaletteTokens struct Styling and appearance The semantic colour roles a style assigns once and reuses everywhere.
MapStyleDefaults class Styling and appearance The shipped map styles, defined in code rather than as serialized assets.
MapStylePreset class Styling and appearance Everything the map draws itself with, in one asset: palette, node shape and treatment, per-state emphasis, edge stroke, backdrop, typography, motion, and on-screen framing.
MapStyleRuntime class Styling and appearance Bridges an authored CompiledMapStyle to runtime visual state.
MapSurfaceGraphic class Styling and appearance Draws one styled map surface as a uGUI graphic through the Waybranch map surface shader.
MapSurfaceRequest struct Styling and appearance The complete parameter set for one map surface material.
MapSurfaceTokens struct Styling and appearance Fill, stroke, glow, and shadow for a drawn surface.
MapTypographyTokens struct Styling and appearance Label sizing and treatment, and the fonts of the map's labels and of the demo HUD.
CanvasExperienceNodeClick class Presentation and views Canvas pointer bridge for one stable node ID.
CanvasExperienceRenderer class Presentation and views Snapshot-driven Canvas adapter with pooled node buttons and route segments.
CanvasMapEdgeView class Presentation and views Draws one edge between two map nodes as a chain of uGUI images, and is the edge view the Canvas presentation builds by default.
CanvasMapNodeView class Presentation and views Draws one map node as a uGUI element inside a Canvas, and is the node view the Canvas presentation builds by default.
CanvasMapPresenter class Presentation and views Draws a map inside a uGUI Canvas.
DefaultMapNodeHitTester class Presentation and views The shipped hit tester.
IMapAudioCueAdapter interface Presentation and views Plays the cue ids authored on node types, so the package never has to know which audio system a project uses.
IMapBackgroundPresenter interface Presentation and views Optional hook for drawing whatever sits behind the map: a backdrop image, a parallax layer, a shader quad.
IMapEdgeAvailabilityView interface Presentation and views Implemented by an edge view that can emphasize routes leading to a reachable node.
IMapEdgeTransitionView interface Presentation and views Optional on an IMapEdgeView: the edge counterpart of IMapNodeTransitionView, driven in the same order and under the same condition that no IMapPresentationTransitionAdapter i...
IMapEdgeView interface Presentation and views The contract for anything that draws a single map edge.
IMapEdgeViewFactory interface Presentation and views Creates and reclaims edge views for a presenter.
IMapExperienceAnimationRenderer interface Presentation and views Advances renderer-owned presentation animation without changing game state.
IMapExperienceCameraRenderer interface Presentation and views Optional renderer capability for scene and preview camera setup.
IMapExperienceConditions interface Presentation and views Typed game integration for conditions and content without reflection.
IMapExperienceElementRenderer interface Presentation and views Mounts a document renderer in an editor panel using the same live visual tree.
IMapExperienceFreeRectRenderer interface Presentation and views Optional free area of a full-screen presentation that draws through its own camera.
IMapExperienceInputOwnership interface Presentation and views Allows one input owner to suppress a renderer's duplicate keyboard polling.
IMapExperienceInputQuery interface Presentation and views Keyboard and pointer queries for the conveniences of the shipped experience HUDs that a map's IMapInputSource does not carry: Tab to move focus, Escape to go back, focus under th...
IMapExperienceInteractiveRenderer interface Presentation and views Optional renderer capabilities for real-time input and camera configuration.
IMapExperienceLayoutEditingRenderer interface Presentation and views Converts a pointer to layout coordinates for visual authoring without changing topology.
IMapExperienceLayoutManipulationRenderer interface Presentation and views Optional editor gesture surface for changing presentation offsets with undo.
IMapExperiencePickingRenderer interface Presentation and views Screen projection and picking shared by editor previews and runtime input.
IMapExperienceRenderer interface Presentation and views Renderer boundary independent of Unity Transform and presentation assemblies.
IMapExperienceStateSymbols interface Presentation and views Tells an interface whether a presentation draws state symbols on its nodes, so a legend only shows what the map shows.
IMapExperienceUiInputOwnership interface Presentation and views Distinguishes map input from other controls sharing a UI Toolkit panel.
IMapExperienceViewportRenderer interface Presentation and views Optional presentation area reserved by a game's surrounding interface.
IMapFocusIndicatorPresenter interface Presentation and views Optional hook for one shared focus indicator drawn at the focused node, as an alternative to every node styling its own focus.
IMapFocusView interface Presentation and views Optional on an IMapNodeView: lets a view show keyboard or gamepad focus.
IMapInputSource interface Presentation and views Supplies the map with input frames.
IMapLocalizationAdapter interface Presentation and views Bridges node labels and tooltips to whatever localization system a project already uses.
IMapNodeContentResolver interface Presentation and views Resolves one stable content ID for a node.
IMapNodeContentSelectionValidator interface Presentation and views Optional compatibility check used while restoring persisted selections.
IMapNodeHitState interface Presentation and views Optional on an IMapNodeView: lets the view decide for itself whether it can be clicked.
IMapNodeHitTester interface Presentation and views Resolves a screen position to a map node.
IMapNodeTransitionView interface Presentation and views Optional on an IMapNodeView: lets a view animate its own state changes, which is how the shipped node views cross-fade.
IMapNodeView interface Presentation and views The contract for anything that draws a single map node.
IMapNodeViewFactory interface Presentation and views Creates and reclaims node views for a presenter.
IMapPresentationTransitionAdapter interface Presentation and views Takes over every node and edge state transition for the whole map, as an alternative to letting each view animate itself.
IMapRoutePawnPresenter interface Presentation and views An IPlayerPawnPresenter that also wants to know how the traveller arrived, which is what a pawn needs in order to walk the route instead of sliding across the map in a straight l...
IMapViewFactoryLifetime interface Presentation and views Optional lifetime contract used only for factories created and owned by a presenter.
IPlayerPawnPresenter interface Presentation and views Optional hook for drawing the traveller's own marker on the map.
IRouteMarkerPresenter interface Presentation and views Optional hook for marking the route already walked: footprints, a trail, a drawn line.
InputSystemSignalAdapter class Presentation and views Package-neutral bridge for Input System PlayerInput UnityEvents.
LegacyMapInputSource class Presentation and views Input source for Unity's legacy Input Manager: axes for navigation, Return, Space or the Submit button for activation, the mouse for pointing, middle-drag to pan and the wheel to z...
MapCameraBloom class Presentation and views Optional map bloom and vignette.
MapContentPoolAsset class Presentation and views A dependency-free deterministic resolver authored in the Inspector.
MapContentPoolEntry class Presentation and views One weighted and filtered row in a MapContentPoolAsset.
MapContentResolutionFailureKind enum Presentation and views Why a node-content request did not produce a selection.
MapContentResolutionRequest class Presentation and views Immutable input to an IMapNodeContentResolver.
MapContentResolutionResult class Presentation and views Typed success or refusal returned by a node-content resolver.
MapContentRoutingDiagnosticCodes class Presentation and views Stable diagnostics emitted by content routing.
MapContentSelection class Presentation and views The durable result of resolving game content for one entered node.
MapEdgeStyle struct Presentation and views How one route reads in one visual state.
MapEdgeViewData struct Presentation and views Everything an edge view needs to draw one route in one presented state: the graph edge, the sampled path along it, the colour to draw it in, and its fog state.
MapEdgeVisualState enum Presentation and views How one route reads to the player.
MapExperienceCommandResult class Presentation and views Outcome of a presentation-independent command; refusals never change progression.
MapExperienceDemoControls class Presentation and views Optional contextual HUD used by the experience examples.
MapExperienceEdgeSnapshot struct Presentation and views Immutable directed edge information passed to an experience renderer.
MapExperienceHost class Presentation and views Owns a map session independently of its renderer, preserving legacy forward saves.
MapExperienceInputGuard class Presentation and views Optional ownership hooks used to prevent map input from crossing another UI.
MapExperienceNodeSnapshot struct Presentation and views Immutable node information passed to an experience renderer.
MapExperienceRendererRegistry class Presentation and views Optional assembly-neutral renderer registry.
MapExperienceSnapshot class Presentation and views Coherent immutable graph and visual state supplied to a renderer.
MapExperienceStateTable class Presentation and views The single source for how node types and routes read in each state.
MapExperienceTraversalStamp struct Presentation and views Immutable traversal metadata identifying the current route, node, and completion state.
MapExperienceVisitEvent class Presentation and views Inspector callback carrying node ID and an exact, runtime-only completion token.
MapFogSettings struct Presentation and views How far ahead of the traveller the map is revealed.
MapFogState enum Presentation and views How visible a node is, derived from its MapNodeVisualState: a hidden node reports MapFogState.Hidden, a locked one MapFogState.Dimmed, and anything the traveller has reached ...
MapHostDiagnosticCodes class Presentation and views Stable diagnostic identifiers emitted by WaybranchMapHost.
MapHostFailureKind enum Presentation and views Why a host operation did not complete.
MapHostOperationKind enum Presentation and views Each value names the host command represented by a typed operation result.
MapHostOperationResult class Presentation and views Typed outcome returned by every operation on WaybranchMapHost.
MapHostSaveAdapterKind enum Presentation and views Which persistence source the host creates or resolves from the scene.
MapHostSeedPolicy enum Presentation and views Where the parameterless WaybranchMapHost.StartNew() obtains its seed.
MapHostStarterPanel class Presentation and views Small removable uGUI control panel created by the Setup Wizard's one-click starter flow.
MapInputController class Presentation and views The component that turns input frames into map interaction: it moves focus between nodes, submits the focused or pressed node to a MapTraversalController, and pans and zooms the ...
MapInputFrame struct Presentation and views One update's worth of map input, reduced to the six signals the controller acts on: a directional axis, a submit request, a pointer, pan and zoom deltas, and a pinch flag.
MapMarkerStyle struct Presentation and views How one node type reads in one visual state: tint, state symbol and wording.
MapMarkerSymbol enum Presentation and views Silhouette family a marker uses to show its state without relying on colour alone.
MapMeshRouteSurface class Presentation and views Bounded, presentation-only height sampler for authored route surfaces.
MapNavigationDirection enum Presentation and views A directional focus step, named in normalized layout space: Up is increasing Y and Right is increasing X, whatever the presenter later does with those axes on screen.
MapNavigationModel class Presentation and views Keyboard and gamepad focus for a map.
MapNodeRuntimeState struct Presentation and views One node's derived display state: the visual state a presenter styles it with, plus the fog state that decides whether it can be seen at all.
MapNodeStateTint class Presentation and views Marks the part of an authored node prefab that shows the node's state, for example the rim of a table piece's base.
MapNodeViewData struct Presentation and views Everything a node view needs to draw one node in one presented state: the graph node, where it sits, its compiled type, and its visual and fog state.
MapNodeVisualState enum Presentation and views How one node reads to the player, and the state a presenter styles that node with.
MapPresenterBase class Presentation and views Turns a traversal controller's graph, progression and compiled content into live node and edge views, and keeps them in step for the rest of the run.
MapRuntimeContent class Presentation and views Everything needed to draw a map that the graph itself does not carry: the node types its type IDs resolve to, and the theme they are laid out and styled with.
MapRuntimeStateDeriver class Presentation and views Turns a graph plus the traveller's progression into the per-node fog and visual states a view needs, and is what decides how much of the map the player can currently see.
MapRuntimeStateSnapshot class Presentation and views The whole map's derived display state for one progression revision: one entry per node, sorted by node ID and addressable by ID.
MapSelectionResult class Presentation and views The outcome of asking the controller to move to a node.
MapSetupHierarchyBinding class Presentation and views Durable identity for scene objects created and owned by the Waybranch setup wizard.
MapStringUnityEvent class Presentation and views Inspector-serializable event that publishes one stable ID as text.
MapSurfaceStyling class Presentation and views Turns a node's compiled type, visual state, and fog state into the surface request that draws it.
MapTraversalController class Presentation and views The scene component that owns one traversal run: it holds the graph, the progression, and the compiled content, applies every move through a MapSession, and reports what happened...
MapUnityEvent class Presentation and views Inspector-serializable signal used when listeners can read details from the controller.
PassthroughLocalizationAdapter class Presentation and views The IMapLocalizationAdapter used when a project has no localization system wired up: it returns the authored fallback text unchanged, falling back to the key itself when no text ...
Rule enum Presentation and views The rules a place for a name can break, as flags: what MapCaptionSpots.Explain counts.
RuntimeExperienceInputRegistry class Presentation and views Assembly-neutral factories for optional experience input integrations.
Side enum Presentation and views The side of a node a name stands on.
UIToolkitMapRenderer class Presentation and views Renders Waybranch snapshots with UI Toolkit.
WaybranchMapHost class Presentation and views Designer-first scene host for one complete Waybranch run.
World2DExperienceNodeClick class Presentation and views World2D pointer bridge for one stable node ID.
World2DExperienceRenderer class Presentation and views Snapshot-driven World2D adapter using pooled sprites and line routes.
World3DEdgeFactory class Presentation and views Creates and pools World3D line routes with a shared local projection scale.
World3DExperienceNodeClick class Presentation and views Stable node bridge retained for renderer-owned picking metadata.
World3DExperienceRenderer class Presentation and views Snapshot-driven World3D adapter.
World3DMapEdgeView class Presentation and views Draws an edge as one pooled LineRenderer projected from XY to XZ.
World3DMapNodeView class Presentation and views Draws one node with a mesh, optional authored prefab, label and stable hit transform.
World3DMapPresenter class Presentation and views Presents a Waybranch map as pooled scene objects on the XZ plane.
World3DNodeFactory class Presentation and views Creates and pools World3D node views, partitioned by node type and prefab.
WorldMapEdgeView class Presentation and views Draws one edge between two map nodes as a world-space line, and is the edge view the World2D presentation builds by default.
WorldMapNodeView class Presentation and views Draws one map node in world space, and is the node view the World2D presentation builds by default.
WorldMapPresenter class Presentation and views Draws a map as ordinary scene objects rather than UI.
WorldMapSurface class Presentation and views Draws one styled map surface in world space, so a World2D map gets the same shapes, gradients, strokes, rings and glow the Canvas presentation has.
InputSystemExperienceRegistration class Framing, input and navigation Registers the optional Input System providers with the assembly-neutral runtime registry.
InputSystemMapInputBridge class Framing, input and navigation Optional PlayerInput UnityEvent bridge compiled only when com.unity.inputsystem is installed.
InputSystemMapInputSource class Framing, input and navigation Optional polling adapter for the Unity Input System.
MapAspectClass enum Framing, input and navigation Coarse bucket for a screen's shape, so framing and layout can be chosen per display class instead of per resolution.
MapFrameResult struct Framing, input and navigation The resolved on-screen placement of a map: the rectangle it may occupy, the scale that fits its content into that rectangle, and the pan limits that keep it reachable.
MapFrameUtility class Framing, input and navigation Pure framing maths, separated from the component so it can be tested without a scene, a canvas, or a device.
MapSafeAreaController class Framing, input and navigation Keeps the RectTransform it sits on inside the device safe area, so notches, rounded corners, and gesture bars never cover the map.
MapViewportFrame class Framing, input and navigation Places a map on screen: reserves margins for your own interface, fits the content, insets into the device safe area, and clamps pan and zoom.
MapViewportResult struct Framing, input and navigation The outcome of measuring one screen: whether the measurement succeeded, the safe area as fractions of the screen, and the aspect bucket.
ConstraintContext class Rules and constraints Everything an IMapConstraint is allowed to see: the frozen rules, every slot and slot edge in the attempt, and the type assignments decided so far.
ConstraintEvaluationState enum Rules and constraints What a custom constraint concluded about the assignment it was shown.
ConstraintResult class Rules and constraints One constraint's answer for one evaluation: the state, plus the diagnostic code and message that are reported when the state is ConstraintEvaluationState.Violated.
EdgeCrossingPolicy enum Rules and constraints Whether the generator may produce routes that cross one another between two layers.
ForbiddenAdjacencyDirection enum Rules and constraints Whether a forbidden adjacency follows edge direction or covers both orderings of its type pair.
ForbiddenAdjacencyRule struct Rules and constraints Bans edges between two node types.
ForcedNodeTypeRule struct Rules and constraints Pins one slot to a node type before generation starts, fixing that slot's type instead of drawing it by weight.
IMapConstraint interface Rules and constraints A game-specific rule the generator has to respect.
MapConnectionRules class Rules and constraints The topology half of a rule set: how many routes a node may send and receive, how many optional routes are added beyond the mandatory backbone, and whether routes may cross.
MapNodeSlot struct Rules and constraints Addresses one candidate node position in a layered map by layer and by ordinal within that layer.
MapNodeTypeAssignment struct Rules and constraints One decided slot: where it sits, the identity of the node there, and the node type chosen for it.
MapSlotEdge struct Rules and constraints A directed connection between two slots, written in layer-and-ordinal coordinates rather than node IDs -- the shape of a map before its nodes exist.
MapValidator class Rules and constraints The shipped IMapValidator: it judges a finished graph against the rule snapshot it claims to have come from.
MapZoneDefinition class Rules and constraints A contiguous inclusive band of layers that carries its own node type rules: an allowed set, a forbidden set, and per-type weight overrides.
NodeTypeQuotaRule struct Rules and constraints A count bound on how many nodes of one type a scope may hold: the whole map when ZoneId is empty, otherwise the layers of the named zone.
NodeTypeWeight struct Rules and constraints One entry of the map-wide node type table: it declares that a type exists and how often the generator should reach for it.
NodeTypeWeightOverride struct Rules and constraints Replaces the map-wide selection weight of one node type for the layers of a single zone.
ValidationReport class Rules and constraints Everything one validation pass had to say, plus the single number that decides whether the pass succeeded.
IMapLayoutStrategy interface Graph, layout and geometry Turns a graph's topology into normalized node positions.
LaneMapLayoutStrategy class Graph, layout and geometry Lays a lane map (generator version three) out from the positions its graph carries, and draws every node a little off its grid point by a seeded jitter so the map reads as drawn by...
LayeredMapLayoutStrategy class Graph, layout and geometry The shipped layout.
MapEdge struct Graph, layout and geometry A directed connection from one node to another, with a stable identity of its own so a route can be recorded and reloaded by edge rather than by node pair.
MapGraph class Graph, layout and geometry An immutable graph snapshot.
MapLayout class Graph, layout and geometry The immutable result of one layout pass: every laid-out node with its normalized position, plus the orientation those positions were built for.
MapLayoutNode struct Graph, layout and geometry One node paired with the position a layout pass gave it.
MapLayoutOrientation enum Graph, layout and geometry Which axis a layout advances its layers along.
MapLayoutRequest struct Graph, layout and geometry The band a layout is asked to fill, in normalized 0..NormalizedMapPosition.Scale units: layers advance along the orientation's axis between the layer bounds, and the nodes sharin...
MapNode class Graph, layout and geometry One node of a generated map: its identity, the node type chosen for it, its slot in the layered grid, and any authored payload.
NormalizedMapPosition struct Graph, layout and geometry An integer-normalized map position.
FileMapSaveAdapter class Saving and migration Rooted file persistence.
IMapSaveAdapter interface Saving and migration The storage boundary for map saves: read, write, and delete one slot of complete save data.
IMapSaveMigration interface Saving and migration One step of the save upgrade chain: it accepts an envelope at its declared source version and returns the same run at its target version.
MapExplorationLoadResult class Saving and migration Result of exploration deserialization.
MapExplorationSaveCodec class Saving and migration Separate, strict persistence codec for exploration sessions.
MapExplorationSerializationResult class Saving and migration Result of exploration serialization.
MapSaveDocumentKind enum Saving and migration Which kind of save text MapSaveInspector found.
MapSaveEnvelope class Saving and migration A complete, versioned graph and traversal snapshot.
MapSaveFailureKind enum Saving and migration Why a save read, write, or delete did not succeed.
MapSaveFolder class Saving and migration The rule WaybranchMapHost applies to its Save Folder, as a pure function: the folder is relative, has no "." or ".." segment, and resolves strictly below the persistent-data root...
MapSaveFolderFailure enum Saving and migration Why MapSaveFolder.Resolve refused a save folder.
MapSaveFolderResolution class Saving and migration The outcome of MapSaveFolder.Resolve.
MapSaveInspection class Saving and migration What MapSaveInspector.Inspect(string) found in a save text.
MapSaveInspector class Saving and migration Inspects a save text in memory, without loading it into a run and without touching any file: the declared and current format versions, the migration steps a load runs, the declared...
MapSaveMigrationStep struct Saving and migration One step of the built-in migration chain, from one stored format version to the next.
MapSaveOperationResult class Saving and migration The outcome of a save write or delete: whether it committed, the typed reason when it did not, and the diagnostics behind that reason.
MapSaveReadResult class Saving and migration The outcome of a save read: the loaded envelope, which stored candidate supplied it, and the diagnostics gathered on the way.
MapSaveRecoverySource enum Saving and migration Which stored candidate supplied the bytes of a successful read.
MapSaveSerializationResult class Saving and migration The outcome of one MapSaveSerializer call, in either direction.
MapSaveSerializer class Saving and migration Strict, culture-invariant JSON persistence for complete map save envelopes.
MapSaveV1ToV2Migration class Saving and migration Save format 1 had no customer metadata field.
MapStudioExportDiagnosticCodes class Saving and migration Stable codes of MapStudioExportReader, one per reason a Map Studio export is refused or flagged.
MapStudioExportDocument class Saving and migration The decoded content of a Map Studio export (format 1).
MapStudioExportFailureCategory enum Saving and migration Why a read stopped before a document was built.
MapStudioExportFingerprintCheck enum Saving and migration The outcome of comparing one declared fingerprint with the recomputed value.
MapStudioExportFingerprintPolicy enum Saving and migration How MapStudioExportReader treats the canonical form and the declared fingerprints.
MapStudioExportFingerprints class Saving and migration The five fingerprints of an export; an empty string means "not declared" or "not computed".
MapStudioExportReadResult class Saving and migration The result of MapStudioExportReader.TryRead(string, MapStudioExportFingerprintPolicy).
MapStudioExportReader class Saving and migration Strict reader of the JSON that Map Studio exports (format 1).
MemoryMapSaveAdapter class Saving and migration An in-memory adapter that stores canonical JSON rather than live object references.
MapExperienceExamples class Editor tools Editor helpers that create reproducible Waybranch example scenes from authoring presets.
MapExperienceStudioWindow class Editor tools Edits a detached preset while rendering and simulating an isolated map.
MapStudioCommandResult class Editor tools What one Map Studio command did: whether it was accepted, the snapshot to display afterwards, and the error that explains a rejection.
MapStudioSession class Editor tools The editing model behind the Map Studio window: it holds one MapStudioSnapshot at a time and turns each authoring gesture -- regenerate, move, retype, pin, connect, undo -- into ...
MapStudioSnapshot class Editor tools Immutable picture of one Map Studio preview: the compiled rules the preview is pinned to, the generation mode and seed, the graph as it currently stands, the overrides and search b...
Piece struct Editor tools One row binds a node type of the Ruins example to its piece, its FBX object, its accent colour and its icon file.
MapDiagnostic class Determinism and diagnostics One problem found while compiling authoring assets, running generation preflight, validating a graph, or loading a save: a severity, a stable machine-readable code, a message writt...
StableId struct Determinism and diagnostics A stable, serialization-safe identifier.
IMapGenerator interface Other The generation boundary of the package: one call turns a MapGenerationRequest into either a complete map or a typed failure.
IMapValidator interface Other The whole-graph check the generators run in addition to their own.
LayerNodeRange struct Other How many nodes one layer may hold, as an inclusive range.
MapDiagnosticSeverity enum Other How much weight a MapDiagnostic carries.
MapFingerprint class Other Versioned, domain-separated, big-endian canonical SHA-256 fingerprints.
MapGenerationManifest class Other The reproduction record of one successful generation: which generator and which random algorithm ran, the seed and the fingerprints of the inputs they ran on, and the fingerprint o...
MapLaneRules class Other The lane half of a version-three rule set (MapRuleSnapshot.SchemaVersion3): the hidden grid a lane map is walked over.
MapNodePayload class Other The immutable set of typed properties carried by a node or a node type: how Waybranch lets a map hold your game's data (rewards, difficulty, labels) without the package needing to ...
MapProperty struct Other One entry of a node payload: a stable key paired with a tagged value.
MapPropertyKind enum Other Which of a MapPropertyValue's fields carries the data.
MapPropertyValue struct Other A Unity-independent tagged value used by map payloads.
MapRuleSnapshot class Other Immutable, engine-independent rules compiled from authoring assets: the layer widths, the node type table, the zones, the quota, forced-type and forbidden-adjacency rules, the conn...
XorShift32Random class Other Version 1 of Waybranch's deterministic random stream.