KeyframeMetadata

public struct KeyframeMetadata : Codable

Keyframe metadata

  • The URL suffix for sprite image containing placeholder ~index~ which must be replaced with integers to obtain sprites. eg. 1629429659583-sprite-192x108-~index~.jpg

    Declaration

    Swift

    public var name: String?
  • ia

    List of sprites suffixes with image aspect ratio (wxh) embedded eg. [1629429659583-sprite-192x108-1]

    Declaration

    Swift

    public var ia: [String]
  • The time(in seconds) that corresponds to thumbnail in each sprite image.

    Declaration

    Swift

    public var frequency: Int
  • The width of each thumbnail in each sprite image.

    Declaration

    Swift

    public var width: Int
  • The height of each thumbnail in each sprite image.

    Declaration

    Swift

    public var height: Int
  • The number of rows in each sprite image.

    Declaration

    Swift

    public var rows: Int
  • The number of columns in each sprite image.

    Declaration

    Swift

    public var columns: Int