IntersectInformation Structure
|
Language: |
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. Click a tab on the left to choose the type of member you want to view.
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 |
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center