我正在尝试从Unity 3D中的Android插件中使用本地Android API调用SensorManager.GetRotationMatrix()
。 API调用的输出被写入两个com.google.android.material.textfield.TextInputEditText
矩阵R&I中。
方法签名看起来像这样。
float[]
This SO thread包含具有各种转换的pdf链接,但此链接已损坏。
如何将输出矩阵转换为Unity public static boolean getRotationMatrix (float[] R,
float[] I,
float[] gravity,
float[] geomagnetic)
?