Orientation
public enum Orientation
Captures the different orientations supported by Tiled Maps
-
A top-down/side-on view
Declaration
Swift
case orthogonal -
2D plane of the map rotated around the z axis by 45 degrees
Declaration
Swift
case isometric -
A staggered view
Declaration
Swift
case staggered -
A hexagonal grid, captures the axis and index of the stagger
Declaration
Swift
case hexagonal(axis: StaggerAxis, index: StaggerIndex, sideLength: Int) -
Undocumented
Declaration
Swift
public init(_ stringValue: String, staggerAxis: StaggerAxis?, staggerIndex: StaggerIndex?, hexSideLength: Int?) throws
View on GitHub
Orientation Enumeration Reference