Difference between revisions of "Matrix:scale"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2016.06<br/> | |
− | ''' | + | '''Class:''' [[Matrix]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Combines the existing scale with a provided scale. | |
<source lang="lua"> | <source lang="lua"> | ||
− | + | Matrix:scale(x scale,y scale,z scale) | |
</source> | </source> | ||
− | === | + | |
− | '''x scale''': (number) | + | === Parameters === |
− | '''y scale''': (number) | + | '''x scale''': (number) scale on x axis<br/> |
− | '''z scale''': (number) | + | '''y scale''': (number) scale on y axis '''optional'''<br/> |
+ | '''z scale''': (number) scale on z axis '''optional'''<br/> | ||
{{Matrix}} | {{Matrix}} |
Revision as of 23:34, 17 March 2022
Available since: Gideros 2016.06
Class: Matrix
Description
Combines the existing scale with a provided scale.
Matrix:scale(x scale,y scale,z scale)
Parameters
x scale: (number) scale on x axis
y scale: (number) scale on y axis optional
z scale: (number) scale on z axis optional
- Matrix
- Matrix.fromSRT
- Matrix.new
- Matrix:duplicate
- Matrix:getAnchorPosition
- Matrix:getElements
- Matrix:getM11
- Matrix:getM12
- Matrix:getM21
- Matrix:getM22
- Matrix:getMatrix
- Matrix:getPosition
- Matrix:getRotationX
- Matrix:getRotationY
- Matrix:getRotationZ
- Matrix:getScale
- Matrix:getScaleX
- Matrix:getScaleY
- Matrix:getScaleZ
- Matrix:getTx
- Matrix:getTy
- Matrix:getTz
- Matrix:getX
- Matrix:getY
- Matrix:getZ
- Matrix:invert
- Matrix:multiply
- Matrix:orthographicProjection
- Matrix:perspectiveProjection
- Matrix:rotate
- Matrix:scale
- Matrix:setAnchorPosition
- Matrix:setElements
- Matrix:setM11
- Matrix:setM12
- Matrix:setM21
- Matrix:setM22
- Matrix:setMatrix
- Matrix:setPosition
- Matrix:setRotationX
- Matrix:setRotationY
- Matrix:setRotationZ
- Matrix:setScale
- Matrix:setScaleX
- Matrix:setScaleY
- Matrix:setScaleZ
- Matrix:setTx
- Matrix:setTy
- Matrix:setTz
- Matrix:setX
- Matrix:setY
- Matrix:setZ
- Matrix:transformPoint
- Matrix:translate