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