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
fan = vis.getSrfActor( "impeller" )
fan.transparencyVal( 2 )
or:
fanTransVal = fan.transparencyVal( )