setShading()

Set the shading style used in various actors of scene graph.

Usage

vis.setShading( shading = None )

Parameters

shading (string)
The shading style which should be set. Valid values are Flat, Gouraud and Phong.

Return Value

None

Errors

None

Description

This routine sets the shading style used in various actors of scene graph to shading. For example,
vis.setShading( 'Gouraud' )