Get positions of holograms

Aleksi Ikkala 0 Reputation points
2023-08-03T08:36:48.81+00:00

Is it possible to retrieve information regarding currently visible holograms, such as their position (Cartesian coordinates) or size? Specifically in the case when I'm using apps developed by others, so I can't manage the creation of holograms myself.

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
396 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Zuocheng Wang - MSFT 3,091 Reputation points Microsoft Vendor
    2023-08-07T07:45:57.0933333+00:00

    I was hoping there would be e.g. a Device Portal REST API type of solution here.

    The HoloLens device portal does not provide an API for such functionality.

    But if I used Unity/Unreal, I would not be able to get the positions of holograms created by other apps, right

    Yes, by default you cannot access the position data of holograms across apps, but if you are using Azure Spatial Anchor and both apps use the same Azure account, then you can try to access the data through Azure Spatial Anchor, you can refer to Frequently asked questions - Azure Spatial Anchors | Microsoft Learn.

    Say I wanted to find out the position of the start menu, is there any way of getting that?

    If you're talking about the start menu on a HoloLens device, as far as I know there's no way to get its location because it's system controlled.

    May I ask what is the scenario? Can you share more details about the project?

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.