Difference between revisions of "Matrix:getElements"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
+ | '''Class:''' [[Matrix]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | + | Returns the elements of the matrix. | |
− | Returns the elements of the matrix. | + | <syntaxhighlight lang="lua"> |
− | |||
− | |||
− | < | ||
(number), (number), (number), (number), (number), (number) = Matrix:getElements() | (number), (number), (number), (number), (number), (number) = Matrix:getElements() | ||
− | </ | + | </syntaxhighlight> |
+ | [[File:Matrix props.png]] | ||
+ | |||
+ | === Return values === | ||
'''Returns''' (number) m11 element<br/> | '''Returns''' (number) m11 element<br/> | ||
'''Returns''' (number) m12 element<br/> | '''Returns''' (number) m12 element<br/> | ||
Line 15: | Line 17: | ||
'''Returns''' (number) tx element<br/> | '''Returns''' (number) tx element<br/> | ||
'''Returns''' (number) ty element<br/> | '''Returns''' (number) ty element<br/> | ||
+ | |||
+ | {{Matrix}} |
Latest revision as of 14:30, 13 July 2023
Available since: Gideros 2011.6
Class: Matrix
Description
Returns the elements of the matrix.
(number), (number), (number), (number), (number), (number) = Matrix:getElements()
Return values
Returns (number) m11 element
Returns (number) m12 element
Returns (number) m21 element
Returns (number) m22 element
Returns (number) tx element
Returns (number) ty element
- 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