|
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 Hierarchy Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static class HitTester
The HitTester type exposes the following members.
Methods | Name | Description |
---|
| 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, Vector3, Int32, Boolean, Int32, Boolean) |
Hit test a ray against the mesh with specified vertex and index buffer.
|
| HitTest(Ray, PositionNormalTextureVertex, Int32, Boolean, Int32, Boolean) |
Hit test a ray against the mesh with specified vertex and index buffer.
|
TopSee Also