MRTK Volume Selector by anniepank - 1

VR & AR

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

Unity 2018.4.9f1MIT LicenseUpdated 10 days agoCreated on July 18th, 2020
Go to source

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

Show all projects by anniepank