ResetView

public void ResetView(string viewName);

Description

using UnityEngine;
using Volplane;

public class Demo : VolplaneBehaviour
{
    void OnConnect(VPlayer player)
    {
        // Resets the view "mainView" of the newly connected controller.
        player.ResetView("mainView");
    }
}

Resets a view and all elements in it to its original state. This method will basically reload the view data exported by the controller editor.

 

viewName The name identifier of the view set in the controller editor.