Ejemplo n.º 1
0
    void RigSettings()
    {
        if (platform == 0)
        {
            this.ipd            = pcPlugin.IPD();
            this.rtResolutionPC = pcPlugin.RTRez();
            this.cameraTilt     = pcPlugin.Tilt();
            this.fov            = pcPlugin.FOV();
        }

        else
        {
            this.ipd = androidPlugin.GetIpd();
            this.rtResolutionAndroid = androidPlugin.GetRtResolutionAndroid();
            this.cameraTilt          = androidPlugin.GetCameraTilt();
            this.fov = androidPlugin.GetFov();
        }
    }