Click or drag to resize
AB4D logo

HitTester Methods

The HitTester type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAddAllMeshHitResults Adds all hit returns to the specified list of DXRayHitTestResult objects. Added hit results are sorted from the closest to the farthest hit test.
Public methodStatic memberHasTriangleSameOrientation Returns true when the triangle specified with 3 positions (its normal) and a ray with specified rayDirection are facing in the same direction.
Public methodStatic memberHitTest(Ray, PositionNormal, Int32, Boolean, Int32, Boolean) Hit test a ray against the mesh with specified vertex and index buffer.
Public methodStatic memberHitTest(Ray, PositionNormalTexture, Int32, Boolean, Int32, Boolean) Hit test a ray against the mesh with specified vertex and index buffer.
Public methodStatic memberHitTest(Ray, PositionTexture, Int32, Boolean, Int32, Boolean) Hit test a ray against the mesh with specified vertex and index buffer.
Public methodStatic memberHitTest(Ray, Vector3, Int32, Boolean, Int32, Boolean) Hit test a ray against the mesh with specified vertex and index buffer.
Top
See Also