private static extern void SubmitEyeLayerFromUnity(int layer_uid, int eye, System.IntPtr texturePtr, ref pvrPosef pose, double SensorSampleTime, bool headLocked);
public void SubmitEyeLayer(int layer_uid, int eye, System.IntPtr texturePtr, ref pvrPosef pose, double SensorSampleTime, bool headLocked) { SubmitEyeLayerFromUnity(layer_uid, eye, texturePtr, ref pose, SensorSampleTime, headLocked); }
public static Matrix4x4 ConvertPose(pvrPosef pose) { return(Matrix4x4.TRS(Math.ConvertPosition(pose.Position), Math.ConvertOrientation(pose.Orientation), Vector3.zero)); }