In Nuitrack SDK, orientation is stored as an orientation matrix. You can transform it to any convenient form, for example, to a quaternion. You can set the rotation with the help of at least 4 values. These are the basics of linear algebra.