DoTranspSwitch(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DoTranspSwitch − Create a primitive attribute object for enabling or disabling transparency
SYNOPSIS
C:
DtObject DoTranspSwitch(switchvalue)
DtSwitch switchvalue;
FORTRAN:
INTEGER∗4 DOTS(SWVAL)
INTEGER∗4 SWVAL
DESCRIPTION
DoTranspSwitch creates a transparent switch primitive attribute object. The parameter switchvalue specifies whether the surfaces of subsequent primitive objects have a transparent component. Possible values are:
DcOff <DCOFF>
The object will render itself without transparency regardless of the settings for transparent color and transparent intensity.
DcOn <DCON>
The object will render itself with transparency whenever possible.
The transparent switch is one of several values that make a surface transparent. Other values include the transparent color (set with DoTranspColor <DOTC>) and the intensity of the transparent color (set with DoTranspIntens <DOTI>).
DEFAULTS
The default for DoTranspSwitch is DcOff <DCOFF>.
SEE ALSO
DoTranspColor(3D), DoTranspIntens(3D), DoTranspOrientColor(3D), DoTranspOrientIntens(3D), DoTranspOrientExp(3D), DoTranspOrientSwitch(3D)
September 02, 1992