Mixed Reality Utility Kit Overview
Updated: Aug 22, 2024
MR Utility Kit provides a rich set of utilities and tools on top of
Scene API to perform common operations when building spatially-aware apps. This makes it easier to program against the physical world, and allows developers to focus on what what makes their app unique.
The utilities we provide broadly fall into 3 categories:
- Ray cast queries without using the built in physics engine.
- Find a valid spawn position on the floor, walls, surfaces.
- Find the best surface position for placing content using ray casts.
- Check if a position is inside a room.
- Get the bounding box of a room.
- Get the parent/child relationship between anchors (for example, volumes stacked on top of each other or wall art attached to walls).
- Render the walls such that the textures wrap around smoothly without any seams and don’t get stretched and deformed depending on their size. This is crucial for reskinning mixed reality worlds.
- Make it easy to place virtual objects and furniture to replace their physical counterparts with various options to match orientation, size and aspect ratio.
- Decorate the scene with procedurally placed content.
- Room guardian implemented in the application to keep users safe.
- Scene debugger allows you to visually inspect the anchors to get their location, orientation, labels, etc.
- A selection of 30 prefab rooms for testing your application to ensure it works in a variety of environments.
Health and safety guidelines
While building mixed reality experiences, we highly recommend evaluating your content to offer your users a comfortable and safe experience. Please refer to the
Mixed Reality H&S Guidelines before designing and developing your app using this sample project or any of our Presence Platform Features.