Пример #1
0
    // Update is called once per frame
    void Update()
    {
        var pose     = FoveManager.GetHMDPose();
        var conv     = FoveManager.GetHMDGazeConvergence();
        var foveConv = fove.GetGazeConvergence();

        ManagerOrientText.text   = toFomattedString(pose.orientation.ToQuaternion());
        ManagerPosText.text      = toFomattedString(pose.position.ToVector3());
        ManagerGazeText.text     = toFomattedString(conv.ray.direction);
        InterfaceOrientText.text = toFomattedString(fove.transform.rotation);
        InterfacePosText.text    = toFomattedString(fove.transform.position);
        InterfaceGazeText.text   = toFomattedString(foveConv.ray.direction);
    }