MeshContainer.GetAdjacency Method

Language:

Retrieves an array that contains the mesh adjacency information.

Definition

Visual Basic Public Function GetAdjacency() As Integer()
C# public int[] GetAdjacency();
C++ public:
array<int>^ GetAdjacency();
JScript public function GetAdjacency() : int[];

Return Value

System.Int32[]
Array of integers that represent the adjacency information.

Remarks

The size of the adjacency array is the maximum number of faces multiplied by 3.

The face adjacency is stored as an array of arrays. The innermost array contains three indices of adjacent triangles, and the outermost array contains one face adjacency set per triangle in the mesh. If the edge has no adjacent faces, the value is 0xffffffff.


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