Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

set_screen_offset

Function set_screen_offset 

Source
pub fn set_screen_offset(ofx_15_16: i32, ofy_15_16: i32)
Expand description

Set OFX and OFY (control 24, 25) – the screen-space offsets applied post-divide. Values are 15.16 fixed point; 160 << 16 = 160.0 px.