RenderStatistics
public struct RenderStatistics
Render statistics
-
Tile update mode.
Declaration
Swift
public var updateMode: TileUpdateMode
-
Tile object count.
Declaration
Swift
public var objectCount: Int
-
Visible tile count.
Declaration
Swift
public var visibleCount: Int
-
CPU Usage.
Declaration
Swift
public var cpuPercentage: Int
-
Tilemap effects enabled.
Declaration
Swift
public var effectsEnabled: Bool
-
Objects updated this frame.
Declaration
Swift
public var updatedThisFrame: Int
-
Tilemap has visible objects.
Declaration
Swift
public var objectsVisible: Bool
-
Number of animated tile actions.
Declaration
Swift
public var actionsCount: UInt32
-
Tile data cache size.
Declaration
Swift
public var cacheSize: String
-
Frame render time.
Declaration
Swift
public var renderTime: TimeInterval
-
View tracking view count.
Declaration
Swift
public var trackingViews: UInt32
-
Create a copy of the current render statistics.
Declaration
Swift
public func copy() -> SKTilemap.RenderStatistics
Return Value
render statistics for the current frame.