Skip to content

anniepank/MRTKVolumeSelector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MRTKVolumeSelector

Demo Demo

Prerequisites

  • Unity 2018.4.9.f1
  • MixedrealityToolkit v2
  • TextMesh Pro

Getting Started

  • Download latest release from Releases page
  • Add MRTK unitypackage in you project from this tutorial
  • Add the MRTKVolumeSelector/SelectionArea prefab into the scene

After selection is done, you can check the position of the SelectionArea or you can use the supplied MRTKVolumeSelector/MRTKVolumeSelectorMeshCutter to cut the selected part of spatial awareness mesh:

var meshCutter = GetComponent<MRTKVolumeSelectorMeshCutter>();
Output.mesh = meshCutter.CutMeshToSelection(meshCutter.GetSpatialMesh(), SelectionArea);    

Demo

You can check out the working demo scene by cloning this repository.

Author

Hanna Pankova (@anniepank)

License

MIT