Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 967 Bytes

setPulseDelay.markdown

File metadata and controls

30 lines (18 loc) · 967 Bytes

shader.setPulseDelay()

 
Type function
Library shader.*
See Also setPulseTime_up(), setPulseTime_down(), setPulsePause()
Visual Guide Visual Guide

Overview

Sets the length of the delay between pulse cycles (pulse cycle 1 . . . delay . . . pulse cycle 2, etc.)

Syntax

shader.setPulseDelay( number )

number is a value between 0 and 1000000

Examples

local shader = require 'plugin.dynamic_shader'

shader.setPulseDelay( 2000 ) -- Sets the time delay between pulse cycles
-- 2 second delay between pulse cycles