Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.42 KB

setPulseAlpha.markdown

File metadata and controls

36 lines (22 loc) · 1.42 KB

shader.setPulseAlpha()

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

Overview

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

Syntax

shader.setPulseAlpha( boolean )

boolean value

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

Examples

local shader = require 'plugin.dynamic_shader'

shader.setPulseAlpha( true ) -- The Dynamic Shader's alpha value will react to the pulse

shader.setPulseAlpha( false ) -- The Dynamic Shader's alpha value will NOT react to the pulse