Limits drawing to a box, in the coordinates of the current render target.
- p0: one corner of the box.
- p1: the opposite corner. It must not be left of or below
p0.
set_scissor :: (p0: Vector2, p1: Vector2)
Limits drawing to a box, in the coordinates of the current render target.
Parameters
set_scissor :: (x0: s32, y0: s32, x1: s32, y1: s32)
Limits drawing to a box, in the coordinates of the current render target.
Parameters
- x0: s32
- left edge.
- y0: s32
- the edge with the smaller
y. - x1: s32
- right edge. It must not be less than
x0. - y1: s32
- the edge with the larger
y. It must not be less thany0.