Class: MG::TintBy

Inherits:
Action show all
Defined in:
doc/API_reference.rb

Constructors collapse

Methods inherited from Action

#clone, #done?, #reverse

Constructor Details

#initialize(delta_red, delta_green, delta_blue, interval) ⇒ TintBy

Creates an action that tints a Node from current tint to a custom one.

Parameters:

  • delta_red (Float)
  • delta_green (Float)
  • delta_blue (Float)
  • interval (Float)

    the animation interval.



174
# File 'doc/API_reference.rb', line 174

def initialize(delta_red, delta_green, delta_blue, interval); end