 |
MeshOctreeNodeGetAllHitResults Method |
Hit test a ray against the triangles in this and child MeshOctreeNodes and adds all hit result int the specified hitResults list.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic void GetAllHitResults(
ref Ray ray,
HitTestContext hitTestContext,
List<RayHitTestResult> hitResults
)
Parameters
- ray Ray
- Ray
- hitTestContext HitTestContext
- HitTestContext
- hitResults ListRayHitTestResult
- list of RayHitTestResult where the hit results are added
Return Value
RayHitTestResult when ray hits a triangle otherwise null is returned
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MeshOctreeNode.GetAllHitResults(Ab4d.SharpEngine.Common.Ray@,Ab4d.SharpEngine.Common.HitTestContext,System.Collections.Generic.List{Ab4d.SharpEngine.Common.RayHitTestResult})"]
See Also