|
MeshOctTreeNodeGetAllHitResults Method |
Hit test a ray against the triangles in this and child MeshOctTreeNodes and adds all hit result int the specified hitResults list.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public void GetAllHitResults(
ref Ray ray,
DXHitTestContext hitTestContext,
List<DXRayHitTestResult> hitResults
)
Parameters
- ray Ray
- Ray
- hitTestContext DXHitTestContext
- DXHitTestContext
- hitResults ListDXRayHitTestResult
- list of DXRayHitTestResult where the hit results are added
Return Value
DXRayHitTestResult when ray hits a triangle otherwise null is returned
See Also