Class: PFM::MapOverlay::PresetScrollImage

Inherits:
PresetStaticImage show all
Defined in:
docs/4_Systems_952_MapOverlay.rb

Overview

Scroll image preset

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 inherited from PresetStaticImage

#extra_texture_name, #image_resolution

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

Instance Method Summary collapse

Instance Attribute Details

#direction1 ⇒ Array

Get or set the scroll direction

Returns:

  • (Array)


217
218
219
# File 'docs/4_Systems_952_MapOverlay.rb', line 217

def direction1
  @direction1
end

Instance Method Details

#init_frag_values

Initialize fragment shader values



219
220
# File 'docs/4_Systems_952_MapOverlay.rb', line 219

def init_frag_values
end