|
MeshOctTreeHitTest Method |
HitTest method executes a ray hit test on this oct tree and returns a
DXRayHitTestResult with the closest triangle in this oct tree that is hit by the specified ray.
If not triangle is hit, null is returned.
To get all hit results call method.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public DXRayHitTestResult HitTest(
ref Ray ray,
DXHitTestContext hitTestContext
)
Parameters
- ray Ray
- ray
- hitTestContext DXHitTestContext
- DXHitTestContext
Return Value
DXRayHitTestResultDXRayHitTestResult in case of a hit or null of no triangle is hit
See Also