Search Unity

How to using Locatable Camera 4x4Matrix in Unity

Discussion in 'VR' started by colonister1, Jun 14, 2018.

  1. colonister1

    colonister1

    Joined:
    Sep 20, 2017
    Posts:
    6
    Hello, Everybody?
    I am trying to use augmented reality with HoloLens just as described in the Locatable Camera documentation.
    URL : https://developer.microsoft.com/en-us/windows/holographic/locatable_camera

    And the result is three 4x4Matrices. (CameraCoordinateSystem, Viewport, Projection)
    I want to use these to set the Position and Rotation of Unity camera.
    It has much more errors than the distortion error in the document.
    But I don't know what to do.
    How can you calculate the position and rotation with the 4X4Matrix?