I was reading the documentation for this struct but there seem not be enough information, m3 being the 3rd column of the matrix and m4 the 4th column contain the information about orientation and location of the node in 3D space correspondingly that I know because of some course on Udemy.
Also right now the only way to extract the orientation and other things is:
guard let pointOfView = sceneView.pointOfView else { return }
let transform = pointOfView.transform
let orientaiton = SCNVector3(-transform.m31, -transform.m32, -transform.m33)
I guess API is different for the ARKit as compared to SceneKit
Apple documentation link: https://developer.apple.com/documentation/scenekit/scnmatrix4/1621081-m11
SCNMatrix4 is the 3d transformation matrix. In short:
Translation by (tx, ty, tz):
Scale by (sx, sy, sz):
Rotation by (rx, ry, rz):
By the way, it's simple to decompose the SCNMatrix4 using SceneKit framework: