Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.18 KB

setPulseZValue_up.markdown

File metadata and controls

32 lines (20 loc) · 1.18 KB

shader.setPulseZValue_up()

 
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

Overview

Sets the maximum zValue of the pulse

Syntax

shader.setPulseZValue_up( number )

number is a value between 0 and 1

Examples

local shader = require 'plugin.dynamic_shader'

shader.setPulseZValue_up( 0.75 ) -- Sets the maximum zValue of the pulse
-- pulse zValue peaks at 0.75