bool ComputeOverlayIntersection( VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults )
Computes the overlay-space pixel coordinates of where the ray intersects the overlay. Returns false if there is no intersection.
VROverlayHandle_t ulOverlayHandle
- Handle of the overlay to test intersection withconst VROverlayIntersectionParams_t *pParams
- The ray to test for intersectionVROverlayIntersectionResults_t *pResults
- The details of the resultsDescription
Intersections are tested using these parameter blocks:
struct VROverlayIntersectionParams_t
{
HmdVector3_t vSource;
HmdVector3_t vDirection;
TrackingUniverseOrigin eOrigin;
};
struct VROverlayIntersectionResults_t
{
HmdVector3_t vPoint;
HmdVector3_t vNormal;
HmdVector2_t vUVs;
float fDistance;
};
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4