Vizard 7 » Command Index » Vizard modules » viz » <viz:cluster>.popMask
7.6

<viz:cluster>.popMask

Restores the previous cluster mask

<viz:cluster>.popMask()  

Remarks

This command will restore the previous cluster mask that was saved using the <viz:cluster>.pushMask command.

Note: This command mostly exists for backward compatibility. It is recommended to use the <viz:cluster>.MaskedContext command instead.

Return Value

None

Example

#Only want client 1 to perform command
viz.cluster.pushMask(viz.CLIENT1)
viz.clearcolor(viz.RED)
viz.cluster.popMask()

See also

<viz:cluster>.getMask
<viz:cluster>.pushMask
<viz:cluster>.setMask
<viz:cluster>.MaskedContext