Type | function |
Library | shader.* |
Pulse Alpha | setPulseAlpha(), setPulseAlpha_up(), setPulseAlpha_down() |
Pulse Intensity | setPulseIntensity(), setPulseIntensity_down() |
Pulse zValue | setPulseZValue(), setPulseZValue_up(), setPulseZValue_down() |
Visual Guide | Visual Guide |
Sets the maximum intensity value of the pulse
shader.setPulseIntensity_up( number )
number is a value between 0 and 1
local shader = require 'plugin.dynamic_shader'
shader.setPulseIntensity_up( 0.75 ) -- Sets the maximum intensity value of the pulse
-- pulse intensity peaks at 0.75