Class: PFM::MapOverlay::PresetStaticImage

Inherits:
PresetBase show all
Includes:
PresetWithDistanceFactor, PresetWithMapAffix
Defined in:
docs/4_Systems_952_MapOverlay.rb

Overview

Static image overlay

Direct Known Subclasses

PresetScrollImage

Constant Summary

Constants inherited from PresetBase

PFM::MapOverlay::PresetBase::ALLOWED_BLEND_MODES, PFM::MapOverlay::PresetBase::TMAX, PFM::MapOverlay::PresetBase::TMIN

Instance Attribute Summary collapse

Attributes included from PresetWithDistanceFactor

#distance_factor

Attributes included from PresetWithMapAffix

#map_affix, #zoom

Attributes included from PresetWithPosition

#position

Attributes inherited from PresetBase

#blend_mode, #opacity, #paused, #resolution

Method Summary

Methods inherited from PresetBase

#init_frag_values

Instance Attribute Details

#extra_texture_name ⇒ String

Get or set the extra texture name

Returns:



193
194
195
# File 'docs/4_Systems_952_MapOverlay.rb', line 193

def extra_texture_name
  @extra_texture_name
end

#image_resolution ⇒ Array<Integer>

Get or set resolution of the texture

Returns:

  • (Array<Integer>)


196
197
198
# File 'docs/4_Systems_952_MapOverlay.rb', line 196

def image_resolution
  @image_resolution
end