Cool Monkey LLC
  • Docs
  • FAQ
  • Contact
  • Download
Documentation
  • Scroller2d
  • BackgroundImage
Structure

BackgroundImage

A structure representing all the properties and types needed to create a specific repeating background.

Declaration

struct BackgroundImage

Overview

Use the BackgroundImage structure to define each object to be used by the Scroller2d engine or your own custom implementation.

Topics

Initializers

init()
init(from: any Decoder) throws

Instance Properties

var id: UUID?
An autogenerated unique identifier.
var image: String?
var isVisible: Bool?
var pinned: Bool?
var pinnedRanges: [PinnedRange]?
var scrollOrientation: String?
var speed: CGFloat?
var zPosition: CGFloat?

Default Implementations

  Equatable Implementations
  Reflectable Implementations

See Also

??

struct Actions
struct AnimationProperty
struct CollisionDetection
struct CycleEndProperties
struct Delays
struct DeviceProperties
struct EdgePhysics
struct ExtraProperties
struct GameSound
struct PhysicsProperty
struct PinnedRange
struct PolyPhysics
struct Point
struct ProjectileProperties
struct RadiusPhysics


  • Changelog
  • contact
  • Search
Scroller2d