Viewport:setClip

From GiderosMobile
Revision as of 14:32, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2016.04
Class: Viewport

Description

Sets the viewport size. <syntaxhighlight lang="lua"> Viewport:setClip(x,y,width,height) </source>

Parameters

x: (number) x coordinate
y: (number) y coordinate
width: (number) viewport width
height: (number) viewport height