IntersectInformation Structure (Microsoft.DirectX.Direct3D)

Describes the intersection of a ray and a triangle.

Definition

Visual Basic Public Structure IntersectInformation
C# public struct IntersectInformation 
C++ public value class IntersectInformation sealed 
JScript In JScript, you can use structures, but you cannot define your own.

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
IntersectInformation Initializes a new instance of the IntersectInformation class.
ToString Obtains a string representation of the current instance.

Properties

Property Description
Dist Retrieves or sets the distance along the ray where the intersection occurred.
FaceIndex Retrieves or sets the index of the triangle that intersected the ray.
U Retrieves or sets the barycentric coordinate within the triangle where the ray intersects.
V Retrieves or sets the barycentric coordinate within the triangle where the ray intersects.

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492