Arguments

intnum - Monitor number from 0 (the left monitor) to 2 (the right monitor).

mat4projection - Projection matrix for the left or right stereo image.

voidengine.surround.setViewportMask(intnum, intmask)

Sets a viewport bit mask for the specified monitor. Object surfaces, materials, decals, lights and GUI objects will be rendered into this viewport only if their viewport mask matches this one (one matching bit is enough).

Arguments

intnum - Monitor number from 0 (the left monitor) to 2 (the right monitor).

intmask - Integer, each bit of which is a mask.

Last update: 2018-12-17

We use cookies to ensure that we give you the best experience on our website. Click here for more information.