|
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.0.8865.1045
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