Material.GetAllShaders
 
 
 

Material.GetAllShaders

Introduced

v7.0

Description

Returns all shaders nested under the material, even the ones that are not connected. If no shaders are found, this method returns an empty collection.

C# Syntax

ShaderCollection Material.GetAllShaders();

Scripting Syntax

oReturn = Material.GetAllShaders();

Return Value

ShaderCollection

See Also

Material.GetShaderInputType Camera.GetAllShaders Light.GetAllShaders Shader.GetAllShaders