DoClipSwitch(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DoClipSwitch − Create a primitive attribute object for enabling or disabling model clipping
SYNOPSIS
C:
DtObject DoClipSwitch(switchvalue)
DtSwitch switchvalue ;
FORTRAN:
INTEGER∗4 DOCS(SWVAL)
INTEGER∗4 SWVAL
DESCRIPTION
DoClipSwitch creates a model clipping switch primitive attribute object. Model clipping is used to cut away parts of a scene so that objects that are normally obscured by the clipped objects can now be seen. The switchvalue specifies whether or not subsequently executed primitive objects will be clipped against the current model clipping volume. The values for switchvalue are:
DcOff <DCOFF>
Ignore modeling clipping volumes.
DcOn <DCON>
Clip all subsequent primitive objects against the current model clipping volume.
DEFAULTS
The default DoClipSwitch is DcOff <DCOFF>.
SEE ALSO
September 02, 1992