Renderer.castShadows Manual     Reference     Scripting  
Scripting > Runtime Classes > Renderer
Renderer.castShadows

var castShadows : bool

Description

Does this object cast shadows?

// make the object not cast shadows
renderer.castShadows = false;

See Also: receiveShadows, Light.shadows.