SetScissor and iOS?

Monkey Targets Forums/iOS/SetScissor and iOS?

Rob Pearmain(Posted 2011) [#1]
I can't seem to get SetScissor working.

Basically, on an iPad, I want to contain the screen to 960x640.

As I test, I did SetScissor(32,54,480,320) as a simple test and nothing is clipped.

When do I need to make the call to SetScissor?


DruggedBunny(Posted 2011) [#2]
In what context are you calling it? This works here (tested on HTML5):




CopperCircle(Posted 2011) [#3]
Hi, I use SetScissor in IOS, I call at the start of my OnRender() after a Cls.


Rob Pearmain(Posted 2011) [#4]
I had assumed you made 1 call on Oncreate but I get it now, you need to call it each Onrender.

Thanks


Panda(Posted 2012) [#5]
Ahh thank you - it wasn't obvious SetScissor had to go into OnRender.