载入中...
搜索中...
未找到
GridConfig.h
浏览该文件的文档.
Definition PlacementWorld.h:23
GridPlane
Placement plane for the second grid axis. XY maps the second axis to world Y (2D tilemaps / top-down)...
Definition GridConfig.h:28
StaggerAxis
Axis used for odd/even row or column offset in staggered layouts.
Definition GridConfig.h:19
GridLayout
Cell topology: rectangle, hex, isometric, or staggered variants.
Definition GridConfig.h:17
@ Hexagon
@ Isometric
@ Rectangle
@ IsometricZAsY
@ Staggered
StaggerIndex
Whether odd or even indices along the stagger axis are offset.
Definition GridConfig.h:21
float cellPitchY(const GridConfig &cfg)
Effective cell pitch on Y including gap.
Definition GridConfig.h:60
float cellPitchX(const GridConfig &cfg)
Effective cell pitch on X including gap.
Definition GridConfig.h:58
Grid shape, cell metrics, origin, and placement plane. Pure data; use GridProjection helpers for worl...
Definition GridConfig.h:34