Difference between revisions of "Pixel:setTexturePosition"
From GiderosMobile
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2011.6<br/> | + | <languages /> |
− | === Description === | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> |
− | Sets the texture's position | + | '''<translate>Class</translate>:''' [[Special:MyLanguage/Pixel|Pixel]]<br/> |
+ | === <translate>Description</translate> === | ||
+ | <translate>Sets the texture's position</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
Pixel:setTexturePosition(x,y) | Pixel:setTexturePosition(x,y) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
− | '''x''': (number) x-coordinate of texture <br/> | + | '''x''': (number) <translate>x-coordinate of texture</translate> <br/> |
− | '''y''': (any) y-coordinate of texture <br/> | + | '''y''': (any) <translate>y-coordinate of texture</translate> <br/> |
+ | |||
+ | {{Pixel}} |
Revision as of 23:34, 3 December 2019
Available since: Gideros 2011.6
Class: Pixel
Description
Sets the texture's position
Pixel:setTexturePosition(x,y)
Parameters
x: (number) x-coordinate of texture
y: (any) y-coordinate of texture