Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.2 KB

setPulseIntensity_up.markdown

File metadata and controls

32 lines (20 loc) · 1.2 KB

shader.setPulseIntensity_up()

 
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

Overview

Sets the maximum intensity value of the pulse

Syntax

shader.setPulseIntensity_up( number )

number is a value between 0 and 1

Examples

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