- Unity 2018.4.9.f1
- MixedrealityToolkit v2
- TextMesh Pro
- 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);
You can check out the working demo scene by cloning this repository.
Hanna Pankova (@anniepank)
MIT