DoShadowSwitch(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DoShadowSwitch − Create a primitive attribute object for enabling or disabling shadows
SYNOPSIS
C:
DtObject DoShadowSwitch(switchvalue)
DtSwitch switchvalue;
FORTRAN:
INTEGER∗4 DOSHAS(SWVAL)
INTEGER∗4 SWVAL
DESCRIPTION
DoShadowSwitch creates a shadow primitive attribute object. The switchvalue parameter specifies whether subsequent primitive objects will render themselves with shadows. Possible values are:
DcOff <DCOFF>
A primitive object will render itself without shadows regardless of the settings of the lights.
DcOn <DCON>
A primitive object will render itself with any shadows cast on it whenever possible.
DEFAULTS
The default value for DoShadowSwitch is DcOff <DCOFF>.
September 02, 1992