コード例 #1
0
        private bool TestComputeIntersection(ulong handle, Transform point)
        {
            IntersectionResults results = new IntersectionResults();

            return(SteamVR_Utils.ComputeIntersection(handle, point.position, point.forward, SteamVRManager.trackingSpace, ref results));
        }
コード例 #2
0
        private bool CalculateIntersection(DPOverlayBase dpBase, out IntersectionResults results)
        {
            results = new IntersectionResults();

            return(SteamVR_Utils.ComputeIntersection(dpBase.overlay.handle, pointer.position, pointer.forward, SteamVRManager.trackingSpace, ref results));
        }