|
|
|
|
|
|
set { m_PlaneDetectionMenu = value; } |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[SerializeField] |
|
|
|
GameObject m_MeshingMenu; |
|
|
|
public GameObject meshingMenu |
|
|
|
{ |
|
|
|
get { return m_MeshingMenu; } |
|
|
|
set { m_MeshingMenu = value; } |
|
|
|
} |
|
|
|
|
|
|
|
void Start() |
|
|
|
{ |
|
|
|
if(ActiveMenu.currentMenu == MenuType.FaceTracking) |
|
|
|
|
|
|
m_HumanSegmentationMenu.SetActive(true); |
|
|
|
m_AllMenu.SetActive(false); |
|
|
|
} |
|
|
|
else if(ActiveMenu.currentMenu == MenuType.Meshing) |
|
|
|
{ |
|
|
|
m_MeshingMenu.SetActive(true); |
|
|
|
m_AllMenu.SetActive(false); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void SimpleARButtonPressed() |
|
|
|
|
|
|
SceneManager.LoadScene("ARWorldMap", LoadSceneMode.Single); |
|
|
|
} |
|
|
|
|
|
|
|
public void CameraImageButtonPressed() |
|
|
|
{ |
|
|
|
SceneManager.LoadScene("CameraImage", LoadSceneMode.Single); |
|
|
|
} |
|
|
|
|
|
|
|
public void EnvironmentProbesButtonPressed() |
|
|
|
public void CameraImageButtonPressed() |
|
|
|
SceneManager.LoadScene("EnvironmentProbes", LoadSceneMode.Single); |
|
|
|
SceneManager.LoadScene("CpuImages", LoadSceneMode.Single); |
|
|
|
} |
|
|
|
|
|
|
|
public void ObjectTrackingButtonPressed() |
|
|
|
|
|
|
m_FaceTrackingMenu.SetActive(false); |
|
|
|
m_PlaneDetectionMenu.SetActive(false); |
|
|
|
m_HumanSegmentationMenu.SetActive(false); |
|
|
|
m_MeshingMenu.SetActive(false); |
|
|
|
|
|
|
|
public void MeshingMenuButtonPressed() |
|
|
|
{ |
|
|
|
ActiveMenu.currentMenu = MenuType.Meshing; |
|
|
|
m_MeshingMenu.SetActive(true); |
|
|
|
m_AllMenu.SetActive(false); |
|
|
|
} |
|
|
|
|
|
|
|
public void ClassificationMeshesButtonPressed() |
|
|
|
{ |
|
|
|
SceneManager.LoadScene("ClassificationMeshes", LoadSceneMode.Single); |
|
|
|
} |
|
|
|
|
|
|
|
public void NormalMeshesButtonPressed() |
|
|
|
{ |
|
|
|
SceneManager.LoadScene("NormalMeshes", LoadSceneMode.Single); |
|
|
|
} |
|
|
|
|
|
|
|
public void OcclusionMeshesButtonPressed() |
|
|
|
{ |
|
|
|
SceneManager.LoadScene("OcclusionMeshes", LoadSceneMode.Single); |
|
|
|
} |
|
|
|
|
|
|
|
public void InteractionButtonPressed() |
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |