Light.Shaders

Description

A ShaderCollection containing each Shader object connected to this Light.

C# Syntax

// get accessor
ShaderCollection rtn = Light.Shaders;

Examples

VBScript Example

dim pointLight
set pointLight = ActiveProject.ActiveScene.Root.AddLight("Point")
LogMessage "Shader name: " & pointLight.Shaders(0).Name

See Also

Shader