|
MeshOctTreeGetAllHitResults Method |
HitTest method executes a ray hit test on this oct tree and returns a list of
DXRayHitTestResult with all the hit results sorted from the closest to the farthest.
If no triangle is hit, an empty list is returned.
To get only the closest hit results call method.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public List<DXRayHitTestResult> GetAllHitResults(
ref Ray ray,
DXHitTestContext hitTestContext
)
Parameters
- ray Ray
- ray
- hitTestContext DXHitTestContext
- DXHitTestContext
Return Value
ListDXRayHitTestResulta list of hit DXRayHitTestResult with all the hit results sorted from the closest to the farthest. Empty list is returned in case no triangle is hit.
See Also