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.

How can I scale a hologram

Hi everbody,

Currently i'm working on a videoplayer for the hololens, I'm new at Hololens development.
My question is how can i scale a hologram with scale-up/down clickable corners?

I hope somebody can help me.

Cheers,
Bram

Tagged:

Answers

  • Are you referring to the editing of the hologram in Unity, oder do you describe something the user does in the app?

    In the inspector, you have to modify both the object transform and the bounding box.

    If you want to have the user do it from within the app, I would suggest adding a drag-behavior to the corner and then modifying the holograms size from the code.
  • yeah I want a scalable holgram that can be resized from a hand gesture so i can make the player bigger or smaller when I want.

  • @Brammetje said:
    yeah I want a scalable holgram that can be resized from a hand gesture so i can make the player bigger or smaller when I want.

    Did you get results in the end?

  • Check out this tutorial series on Scale and Rotate by @subere23 - Some of the items in the HoloToolkit have changed, so you might have to play around with it some, but it should get you in the right direction.

  • I have a very simple scale/resize/rotate post with a working unity package here on my blog, it seems to help get folks started then you can add more sophistication once you get the bare minimum functionality working.

Sign In or Register to comment.