Ray |
public class RayHitTestResult : HitTestResult
The RayHitTestResult type exposes the following members.
Name | Description | |
---|---|---|
RayHitTestResult(Vector3, Single) | Constructor | |
RayHitTestResult(Vector3, SceneNode, Single) | Constructor |
Name | Description | |
---|---|---|
DistanceToRayOrigin | Distance to the ray's origin. | |
HitPosition | Vector3 that specifies hit position. | |
TriangleIndex | 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. |