Exemplo n.º 1
0
    // Token: 0x06005712 RID: 22290 RVA: 0x001DFE58 File Offset: 0x001DE258
    public override void ResetHMDOrientation()
    {
        InputTracking.Recenter();
        VRCVrCamera instance = VRCVrCamera.GetInstance();

        instance.SetSitMode(instance.GetSitMode(), false);
    }
Exemplo n.º 2
0
    // Token: 0x060056E5 RID: 22245 RVA: 0x001DE6F8 File Offset: 0x001DCAF8
    public override void ResetHMDOrientation()
    {
        if (SteamVR.active && SteamVR.instance != null && SteamVR.instance.hmd != null)
        {
            SteamVR.instance.hmd.ResetSeatedZeroPose();
        }
        VRCVrCamera instance = VRCVrCamera.GetInstance();

        instance.SetSitMode(instance.GetSitMode(), false);
    }
Exemplo n.º 3
0
    // Token: 0x060056E6 RID: 22246 RVA: 0x001DE74C File Offset: 0x001DCB4C
    public override void ToggleSeatedPlay(bool recalibrate = true)
    {
        VRCVrCamera instance = VRCVrCamera.GetInstance();

        instance.SetSitMode(!instance.GetSitMode(), recalibrate);
    }