Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.21 KB

setPulseIntensity_down.markdown

File metadata and controls

32 lines (20 loc) · 1.21 KB

shader.setPulseIntensity_down()

 
Type function
Library shader.*
Pulse Alpha setPulseAlpha(), setPulseAlpha_up(), setPulseAlpha_down()
Pulse Intensity setPulseIntensity(), setPulseIntensity_up()
Pulse zValue setPulseZValue(), setPulseZValue_up(), setPulseZValue_down()
Visual Guide Visual Guide

Overview

Sets the minimum intensity value of the pulse

Syntax

shader.setPulseIntensity_down( number )

number is a value between 0 and 1

Examples

local shader = require 'plugin.dynamic_shader'

shader.setPulseIntensity_down( 0.25 ) -- Sets the minimum intensity value of the pulse
-- pulse intensity bottoms out at 0.25