 |
HitTester Class |
HitTester is a class that can be used do a hit testing on a mesh data with vertex and index buffer.
The static methods in this class take a Ray, various types of vertex buffers, index buffer and a few flags and returns a hit test result.
Inheritance HierarchySystemObject
Ab3d.DirectXHitTester
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntaxpublic static class HitTester
The HitTester type exposes the following members.
Methods | Name | Description |
---|
  | AddAllMeshHitResults |
Adds all hit returns to the specified list of DXRayHitTestResult objects.
Added hit results are sorted from the closest to the farthest hit test.
|
  | HasTriangleSameOrientation |
Returns true when the triangle specified with 3 positions (its normal) and a ray with specified rayDirection are facing in the same direction.
|
  | HitTest(Ray, PositionNormal, Int32, Boolean, Int32, Boolean) |
Hit test a ray against the mesh with specified vertex and index buffer.
|
  | HitTest(Ray, PositionNormalTexture, Int32, Boolean, Int32, Boolean) |
Hit test a ray against the mesh with specified vertex and index buffer.
|
  | HitTest(Ray, PositionTexture, Int32, Boolean, Int32, Boolean) |
Hit test a ray against the mesh with specified vertex and index buffer.
|
  | HitTest(Ray, Vector3, Int32, Boolean, Int32, Boolean) |
Hit test a ray against the mesh with specified vertex and index buffer.
|
Top
See Also