コード例 #1
0
        public static Vector3 GetOrientation()
        {
            Quaternion q = new Quaternion();

            OculusRiftDevice.GetOrientation(ref q);
            return(q.ToEulerAngles());
        }
コード例 #2
0
 public OculusClient()
 {
     OculusRiftDevice.Initialize();
     DistK0 = OculusRiftDevice.DistK0;
     DistK1 = OculusRiftDevice.DistK1;
     DistK2 = OculusRiftDevice.DistK2;
     DistK3 = OculusRiftDevice.DistK3;
 }