transparency()

Set\get transparency on\off of an actor.

Usage

actor.transparency( trans = None )

Parameters

trans (boolean)
Transparency on/off flag.

Return Value

Boolean

If trans = None, the current transparency flag will be returned, or else None.

Errors

trans must be Boolean.

Description

This routine sets\gets transparency on\off of an actor. If trans is None, the current transparency flag will be returned. For example,
fan = vis.getSrfActor( "impeller" )
fan.transparency( True )
or:
fanTrans = fan.transparency( )