Shader.GetShaderContainer

Introduced

v7.0

Description

Returns the shader's container. It can be a material, a light, a camera or a shader compound.

Scripting Syntax

oReturn = Shader.GetShaderContainer();

Return Value

The shader's container (Material, Light, Camera, etc.)

See Also

Shader.GetAllShaders