Gaze gaze
In holographic applications, gaze is the first form of input and is used to locate objects (functions and the PC's cursor pointer are similar). Gazing tells you that the user is looking at the position in the world so that you can determine their intentions. In the real world, you usually stare at the objects you intend to interact with. This way is the same as staring.
HoloLens uses the position and orientation of the user's head, rather than the eye, to determine their line of sight parameters. You can use the gaze as a laser pointer that is fired forward from the user's eyes. When the user looks around the room, your app can determine which virtual or real objects the user is currently looking into the world through the intersection of the lines.
In HoloLens, interactive actions generally derive the target object from the user's gaze, rather than trying to render or interact directly in the position of the hand. Once an interaction has started, gestures can also be controlled using the relative motion of the hand while using the action or navigation gestures.
Using gaze Uses of gaze
As a holographic application developer, you can use gaze to do many things:
- Your application can judge what the user is currently focusing on by judging the intersection of the gaze ray and the holographic object.
- Your app can use gaze-ray-based gestures to enable selection, activation, drag-and-drop, or other interactions with holographic objects.
- By gazing at the intersection of the ray with the space-matching grid, your application allows the user to place holographic objects into the real-world surface.
- Your app can know when the user is not looking in the direction of the important object, which allows you to bring the user back in the right direction with a graphical or audible reminder.
Pointer cursor
Most apps use pointers (or other visual/auditory cues) to help users know what they can interact with. The typical practice is that you position the pointer in the world where users gaze at priorities and interact with objects, which can be holographic objects or real-world surfaces.
An example of a visual pointer
Match the user's gaze with action Giving action to the "s gaze
Once the user navigates through a holographic object or real-world object, the next step is to act on the object. On HoloLens, the basic way for users to operate is through voice or gesture.
Original address: Https://developer.microsoft.com/zh-cn/windows/holographic/gaze
HoloLens development notes-gaze gaze