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.

Questions about locatable camera example

edited August 2018 in Questions And Answers

I have been trying to follow thishttps://docs.microsoft.com/en-us/windows/mixed-reality/locatable-camera-in-unity example to capture an image from the hololens, but i've run into some problems. The first is i'm not sure exactly when script triggers and actually takes the image, The second is that im not sure if the script is supposed to be attached to anything in the scene for it to work. I eve tried copying and pasting this https://docs.unity3d.com/ScriptReference/XR.WSA.WebCam.PhotoCapture.html but all i see when i buld it is an empty quad

Answers

  • Hi @GogittossjX ,
    try attaching the script to a GameObject in Unity. In the Scene View hit "Create..."->"Create Empty", then select the new GameObject and hit "Add Component" in the Inspector and select your script.

Sign In or Register to comment.