transparencyVal()

Set\get transparency value of an actor.

Usage

actor.transparencyVal( transVal = None )

Parameters

transVal (integer)
Transparency value.

Return Value

Integer

If transVal = None, the current transparency value will be returned, or else None.

Errors

transVal must be an integer.

Description

This routine sets\gets transparency value of an actor. If transVal is None, the current transparency value will be returned. For example,
fan = vis.getSrfActor( "impeller" )
fan.transparencyVal( 2 )
or:
fanTransVal = fan.transparencyVal( )