Method: Osb::Commandable#additive_color_blending

Defined in:
lib/osb/commandable.rb

#additive_color_blending(start_time:, end_time:) ⇒ void

This method returns an undefined value.

Use additive-color blending instead of alpha-blending.

Parameters:



329
330
331
332
333
334
335
336
337
# File 'lib/osb/commandable.rb', line 329

def additive_color_blending(start_time:, end_time:)
  self.raise_if_trigger_called!
  Internal.raise_if_invalid_start_time!(start_time)
  Internal.raise_if_invalid_end_time!(end_time)

  tabs = " " * self.tab_level
  command = "#{tabs}P,#{start_time},#{end_time},A"
  @commands << command
end