Microsoft DirectX 9.0 SDK Update (October 2004)

IntersectInformation Structure

Language:

Note: This documentation is preliminary and is subject to change.

Describes the intersection of a ray and a triangle.

Definition

Visual Basic .NET Public Structure IntersectInformation
C# public struct IntersectInformation
Managed C++ public __value struct IntersectInformation
JScript .NET In JScript .NET, you can use structures, but you cannot define your own.

Members Table

Method Description
IntersectInformation Initializes a new instance of the IntersectInformation class.
ToString Obtains a string representation of the current instance.
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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center