Click or drag to resize
Ab4d.SharpEngine logo

RayHitTestResult Class

RayHitTestResult class provides result of a ray hit test.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public class RayHitTestResult : HitTestResult

The RayHitTestResult type exposes the following members.

Constructors
Fields
 NameDescription
Public fieldDistanceToRayOrigin Distance to the ray's origin.
Public fieldHitPosition Vector3 that specifies hit position.
Public fieldTriangleIndex Index of the hit triangle. TriangleIndex can be converted into an index in the TriangleIndices collection or in indexBuffer with multiplying the TriangleIndex by 3.
Top
See Also