Module: PFM::MapOverlay::PresetWithMapAffix

Includes:
PresetWithPosition, PresetWithResolution
Included in:
PresetStaticImage
Defined in:
docs/4_Systems_952_MapOverlay.rb

Overview

Abstraction for shader that can be affixed to a map instead of following the camera

Instance Attribute Summary collapse

Attributes included from PresetWithPosition

#position

Instance Attribute Details

#map_affix ⇒ Boolean

Get or set whether the overlay is affixed to the map

Returns:

  • (Boolean)


166
167
168
# File 'docs/4_Systems_952_MapOverlay.rb', line 166

def map_affix
  @map_affix
end

#zoom ⇒ Numeric

Get or set the zoom level

Returns:

  • (Numeric)


169
170
171
# File 'docs/4_Systems_952_MapOverlay.rb', line 169

def zoom
  @zoom
end