ModeSettings
ModeSettings
Mode-specific settings and preferences
Project: GridPlacement v6.0
Layer: Core
Source: Core/Types/ModeSettings.cs
Namespace: GridBuilding.Core.Types
Kind: class
Parsing Method: AST-based (Roslyn) - NOT regex
⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.
Properties
DefaultMode
Default grid mode used when the system starts
CameraSpeed
Base movement speed of the camera when panning the view.
ZoomSpeed
Rate at which zoom changes in response to user input.
EnableEdgePanning
Enables edge-of-screen mouse panning for the camera.
EdgePanMargin
Distance from the screen edge, in pixels, that triggers edge panning.
SmoothTransitions
Whether camera transitions between positions use smoothing.
TransitionSpeed
Speed multiplier applied when smoothing camera transitions.
ShowGrid
Toggles rendering of the underlying grid while editing.
SnapToGrid
Enables snapping edit operations to the grid.
GridSize
Size of a single grid cell in world units.
ShowPlacementPreview
Shows a visual preview of placements before they are committed.
EnableUndoRedo
Enables undo/redo support for edit operations.
MaxUndoSteps
Maximum number of undo steps retained in the edit history.
ShowTooltips
Enables context and control tooltips in the UI.
EnableAnimations
Toggles UI transition and feedback animations.
AnimationSpeed
Speed multiplier applied to UI animations.
AutoHidePanels
Whether panels should automatically hide after inactivity.
AutoHideDelay
Delay, in seconds, before auto-hiding panels when enabled.
CustomProperties
Custom mode-specific properties