コード例 #1
0
    public void InitOmicron()
    {
        cave2Manager = CAVE2Manager.GetCAVE2Manager().GetComponent <CAVE2Manager>();

        if (virtualWand && !cave2Manager.simulatorMode)
        {
            virtualWand.transform.localPosition = CAVE2Manager.GetWandTrackingOffset(1);
        }
    }
コード例 #2
0
    public string GetVRTypeLabel()
    {
        if (CAVE2Manager.GetCAVE2Manager().simulatorMode)
        {
            VRTypeLabel = "CAVE2 Simulator";
        }
#if USING_GETREAL3D
        VRTypeLabel = "CAVE2";
#endif
        return(VRTypeLabel);
    }
コード例 #3
0
 public static void ShowDebugCanvas(bool value)
 {
     CAVE2Manager.GetCAVE2Manager().showDebugCanvas = value;
 }
コード例 #4
0
 public static GameObject GetWandObject(int ID)
 {
     return(CAVE2Manager.GetCAVE2Manager().GetWandObject(ID));
 }
コード例 #5
0
 public static bool IsWandRegistered(int wandID, GameObject gameobject)
 {
     return(CAVE2Manager.GetCAVE2Manager().IsWandRegistered(wandID, gameobject));
 }
コード例 #6
0
 public static bool IsHeadRegistered(int headID, GameObject gameobject)
 {
     return(CAVE2Manager.GetCAVE2Manager().IsHeadRegistered(headID, gameobject));
 }
コード例 #7
0
 public static void RegisterWandObject(int wandID, GameObject gameobject)
 {
     CAVE2Manager.GetCAVE2Manager().RegisterWandObject(wandID, gameobject);
 }
コード例 #8
0
 public static void RegisterHeadObject(int headID, GameObject gameobject)
 {
     CAVE2Manager.GetCAVE2Manager().RegisterHeadObject(headID, gameobject);
 }
コード例 #9
0
    // ---------------------------------------------------------------------------------------------


    // CAVE2 Cluster Management --------------------------------------------------------------------
    public static CAVE2Manager GetCAVE2Manager()
    {
        return(CAVE2Manager.GetCAVE2Manager());
    }
コード例 #10
0
 public void InitOmicron()
 {
     omicronManager = CAVE2Manager.GetCAVE2Manager().GetComponent <OmicronManager>();
     omicronManager.AddClient(this);
 }
コード例 #11
0
    // Use this for initialization
    new void Start()
    {
        CAVE2Manager.GetCAVE2Manager().GetComponent <CAVE2Manager>().AddPlayerController(gameObject);

        playerCollider = gameObject.GetComponent <CapsuleCollider> ();
    }
コード例 #12
0
 // Use this for initialization
 public void Start()
 {
     cave2Manager = CAVE2Manager.GetCAVE2Manager().GetComponent <CAVE2Manager>();
 }
コード例 #13
0
 // Use this for initialization
 void Start()
 {
     CAVE2Manager.GetCAVE2Manager().GetComponent <CAVE2Manager>().AddCameraController(gameObject);
 }