Function getTranslation
Parameters
- out: vec3
Vector to receive translation component
- mat: ReadonlyMat4
Matrix to be decomposed (input)
Returns vec3
out
- out: vec3
Was this helpful?
Vector to receive translation component
Matrix to be decomposed (input)
out
Returns the translation vector component of a transformation matrix. If a matrix is built with fromRotationTranslation, the returned vector will be the same as the translation vector originally supplied.