Skip to content

Unity package for cutting the selected area of the mesh for HoloLens.

License

Notifications You must be signed in to change notification settings

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