TileFlags
public struct TileFlags : OptionSet
The TileFlags
optionset represents the various transformation flags that can be set for a given tile.
Properties
none
: tile is rendered with no transformations.flipHorizontal
: tile is flipped on the x-axis.flipVertical
: tile is flipped on the y-axis.flipDiagonal
: tile is rotated.
-
Declaration
Swift
public let rawValue: UInt32
-
Declaration
Swift
public init(rawValue: UInt32 = 0)
-
Descriptor values for each option.
Declaration
Swift
public var strings: [String] { get }