 |
MeshOctreeGetAllHitResults Method |
HitTest method executes a ray hit test on this octree and returns a list of
RayHitTestResult 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: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic List<RayHitTestResult> GetAllHitResults(
ref Ray ray,
HitTestContext hitTestContext
)
Parameters
- ray Ray
- ray
- hitTestContext HitTestContext
- HitTestContext
Return Value
ListRayHitTestResulta list of hit RayHitTestResult with all the hit results sorted from the closest to the farthest. Empty list is returned in case no triangle is hit.
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MeshOctree.GetAllHitResults(Ab4d.SharpEngine.Common.Ray@,Ab4d.SharpEngine.Common.HitTestContext)"]
See Also