Type | function |
Library | shader.* |
Return value | object |
Visual Guide | Visual Guide |
Returns the Dynamic Shader object assigned as the light source via setLightColor()
shader.getLightSource( )
returns object assigned as the light source via setLightColor()
local shader = require 'plugin.dynamic-shader'
local lightSource = shader.getLightSource( )