Difference between revisions of "Matrix:translate"
From GiderosMobile
Line 12: | Line 12: | ||
'''y''': (number) <translate>translate on y axis</translate> '''optional'''<br/> | '''y''': (number) <translate>translate on y axis</translate> '''optional'''<br/> | ||
'''z''': (number) <translate>translate on z axis</translate> '''optional'''<br/> | '''z''': (number) <translate>translate on z axis</translate> '''optional'''<br/> | ||
+ | |||
+ | {{Matrix}} |
Revision as of 21:43, 3 December 2019
Available since: Gideros 2016.06
Class: Matrix
Description
combine existing translation with provided translation
Matrix:translate(x,y,z)
Parameters
x: (number) translate on x axis
y: (number) translate on y axis optional
z: (number) translate 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