Difference between revisions of "Matrix:setMatrix"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2016.06<br/> | |
− | ''' | + | '''Class:''' [[Matrix]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Sets all 16 elements of a 4x4 matrix. | |
− | < | + | <syntaxhighlight lang="lua"> |
− | + | Matrix:setMatrix(m11,m12,m13,m14,m21,m22,m23,m24,m31,m32,m33,m34,m41,m42,m43,m44) | |
− | </ | + | </syntaxhighlight> |
− | === | + | |
− | '''m11''': (number) | + | === Parameters === |
− | '''m12''': (number) | + | '''m11''': (number) '''optional'''<br/> |
− | '''m13''': (number) | + | '''m12''': (number) '''optional'''<br/> |
− | '''m14''': (number) | + | '''m13''': (number) '''optional'''<br/> |
− | '''m21''': (number) | + | '''m14''': (number) '''optional'''<br/> |
− | '''m22''': (number) | + | '''m21''': (number) '''optional'''<br/> |
− | '''m23''': (number) | + | '''m22''': (number) '''optional'''<br/> |
− | '''m24''': (number) | + | '''m23''': (number) '''optional'''<br/> |
− | '''m31''': (number) | + | '''m24''': (number) '''optional'''<br/> |
− | '''m32''': (number) | + | '''m31''': (number) '''optional'''<br/> |
− | '''m33''': (number) | + | '''m32''': (number) '''optional'''<br/> |
− | '''m34''': (number) | + | '''m33''': (number) '''optional'''<br/> |
− | '''m41''': (number) | + | '''m34''': (number) '''optional'''<br/> |
− | '''m42''': (number) | + | '''m41''': (number) '''optional'''<br/> |
− | '''m43''': (number) | + | '''m42''': (number) '''optional'''<br/> |
− | '''m44''': (number) | + | '''m43''': (number) '''optional'''<br/> |
+ | '''m44''': (number) '''optional'''<br/> | ||
{{Matrix}} | {{Matrix}} |
Latest revision as of 14:31, 13 July 2023
Available since: Gideros 2016.06
Class: Matrix
Description
Sets all 16 elements of a 4x4 matrix.
Matrix:setMatrix(m11,m12,m13,m14,m21,m22,m23,m24,m31,m32,m33,m34,m41,m42,m43,m44)
Parameters
m11: (number) optional
m12: (number) optional
m13: (number) optional
m14: (number) optional
m21: (number) optional
m22: (number) optional
m23: (number) optional
m24: (number) optional
m31: (number) optional
m32: (number) optional
m33: (number) optional
m34: (number) optional
m41: (number) optional
m42: (number) optional
m43: (number) optional
m44: (number) 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