HoloLens2-ResearchMode-Unity icon indicating copy to clipboard operation
HoloLens2-ResearchMode-Unity copied to clipboard

How to implement functions from ResearchMode.h

Open EliasMosco opened this issue 1 year ago • 1 comments

Hello, i love this product but im trying to access 2 specific functions that im not sure how to. can you helpe me acces these?

DECLARE_INTERFACE_IID_(IResearchModeCameraSensor, IUnknown, "3BDB4977-960B-4F5D-8CA3-D21E68F26E76") { STDMETHOD(MapImagePointToCameraUnitPlane( float (&uv) [2], float (&xy) [2])) = 0; STDMETHOD(MapCameraSpaceToImagePoint( float(&xy)[2], float(&uv)[2])) = 0; STDMETHOD(GetCameraExtrinsicsMatrix(DirectX::XMFLOAT4X4 *pCameraViewMatrix)) = 0; };

EliasMosco avatar Oct 17 '23 14:10 EliasMosco

i only need MapImagePointToCameraUnitPlane and MapCameraSpaceToImagePoint

EliasMosco avatar Oct 17 '23 15:10 EliasMosco