public void InitOmicron() { cave2Manager = CAVE2Manager.GetCAVE2Manager().GetComponent <CAVE2Manager>(); if (virtualWand && !cave2Manager.simulatorMode) { virtualWand.transform.localPosition = CAVE2Manager.GetWandTrackingOffset(1); } }
public string GetVRTypeLabel() { if (CAVE2Manager.GetCAVE2Manager().simulatorMode) { VRTypeLabel = "CAVE2 Simulator"; } #if USING_GETREAL3D VRTypeLabel = "CAVE2"; #endif return(VRTypeLabel); }
public static void ShowDebugCanvas(bool value) { CAVE2Manager.GetCAVE2Manager().showDebugCanvas = value; }
public static GameObject GetWandObject(int ID) { return(CAVE2Manager.GetCAVE2Manager().GetWandObject(ID)); }
public static bool IsWandRegistered(int wandID, GameObject gameobject) { return(CAVE2Manager.GetCAVE2Manager().IsWandRegistered(wandID, gameobject)); }
public static bool IsHeadRegistered(int headID, GameObject gameobject) { return(CAVE2Manager.GetCAVE2Manager().IsHeadRegistered(headID, gameobject)); }
public static void RegisterWandObject(int wandID, GameObject gameobject) { CAVE2Manager.GetCAVE2Manager().RegisterWandObject(wandID, gameobject); }
public static void RegisterHeadObject(int headID, GameObject gameobject) { CAVE2Manager.GetCAVE2Manager().RegisterHeadObject(headID, gameobject); }
// --------------------------------------------------------------------------------------------- // CAVE2 Cluster Management -------------------------------------------------------------------- public static CAVE2Manager GetCAVE2Manager() { return(CAVE2Manager.GetCAVE2Manager()); }
public void InitOmicron() { omicronManager = CAVE2Manager.GetCAVE2Manager().GetComponent <OmicronManager>(); omicronManager.AddClient(this); }
// Use this for initialization new void Start() { CAVE2Manager.GetCAVE2Manager().GetComponent <CAVE2Manager>().AddPlayerController(gameObject); playerCollider = gameObject.GetComponent <CapsuleCollider> (); }
// Use this for initialization public void Start() { cave2Manager = CAVE2Manager.GetCAVE2Manager().GetComponent <CAVE2Manager>(); }
// Use this for initialization void Start() { CAVE2Manager.GetCAVE2Manager().GetComponent <CAVE2Manager>().AddCameraController(gameObject); }