DebugDisplayOptions
public struct DebugDisplayOptions
The DebugDisplayOptions
structure represents global debugging visualization attributes.
Properties
mouseFilters
: mouse interaction options.mousePointerSize
: mouse pointer font size.highlightDuration
: global highlight duration for selectable objects.
-
Debug properties for mouse movements.
Declaration
Swift
public var mouseFilters: MouseFilters
-
Mouse pointer size (demo).
Declaration
Swift
public var mousePointerSize: CGFloat
-
Default highlight duration for nodes.
Declaration
Swift
public var highlightDuration: TimeInterval
-
Debug grid visualization opacity.
Declaration
Swift
public var gridOpacity: CGFloat
-
Tile color blend opacity.
Declaration
Swift
public var tileHighlighBlendFactor: CGFloat
-
Debug grid visualization color.
Declaration
Swift
public var gridColor: SKColor
-
Debug frame visualization color.
Declaration
Swift
public var frameColor: SKColor
-
Debug frame line width.
Declaration
Swift
public var lineWidth: CGFloat
-
Debug tile highlight color.
Declaration
Swift
public var tileHighlightColor: SKColor
-
Debug vector object highlight color.
Declaration
Swift
public var objectHighlightColor: SKColor
-
Debug highlight color for mappable types.
Declaration
Swift
public var layerHighlightColor: SKColor
-
Debug graph highlight color.
Declaration
Swift
public var navigationColor: SKColor
-
Debug camera bounds color.
Declaration
Swift
public var cameraBoundsColor: SKColor
-
Debug object fill opacity.
Declaration
Swift
public var objectFillOpacity: CGFloat
-
Default anchor display radius.
Declaration
Swift
public var anchorRadius: CGFloat
-
Global debug display mouse filter options (macOS).
Properties
tileCoordinates
: show tile coordinates.sceneCoordinates
: show scene coordinates.tileDataUnderCursor
: show tile data properties.
Declaration
Swift
public struct MouseFilters : OptionSet