Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

Which is the similar Event as Mouse Over in Hololens ? and how to implement it ?

edited October 2016 in Questions And Answers

I want to develop a functionality in which Object changes its state while gazing on it.
But i don't know which event i need ?
So please help me out.

A working example would be great otherwise a small hint will help also.

Thank You.


  • @AijazChauhan check any of the Academy tutorials that involve gaze.
    For example the worldcursor.cs script in Holograms 101 shows the hit detection logic used for when the user is gazing at a hologram:

     void Update()
            // Do a raycast into the world based on the user's
            // head position and orientation.
            var headPosition = Camera.main.transform.position;
            var gazeDirection = Camera.main.transform.forward;
            RaycastHit hitInfo;
            if (Physics.Raycast(headPosition, gazeDirection, out hitInfo))
                // If the raycast hit a hologram...

    Windows Holographic User Group Redmond

    WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
    WinHUGR YouTube Channel -- live streamed meetings

Sign In or Register to comment.