Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.41 KB

setPulseZValue.markdown

File metadata and controls

36 lines (22 loc) · 1.41 KB

shader.setPulseZValue()

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

Overview

Determines if the Dynamic Shader's zValue is reactive to the pulse or not

Syntax

shader.setPulseZValue( boolean )

boolean value

  • true : The Dynamic Shader's zValue will react to the pulse
  • false : The Dynamic Shader's zValue will NOT react to the pulse

Examples

local shader = require 'plugin.dynamic_shader'

shader.setPulseIntensity( true ) -- The Dynamic Shader's zValue will react to the pulse

shader.setPulseIntensity( false ) -- The Dynamic Shader's zValue will NOT react to the pulse