![]() |
![]() |
![]() |
MeshContainer.SetAdjacency Method |
Language: |
Sets the mesh adjacency information.
Visual Basic .NET Public Sub SetAdjacency( _
ByVal adj() As Integer _
)C# public void SetAdjacency(
int[] adj
);Managed C++ public: void SetAdjacency(
int adj __gc[]
);JScript .NET public function SetAdjacency(
adj : int[]
);
adj System.Int32[]. Array of integers that represent the adjacency information.
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.
Exceptions
OutOfMemoryException Microsoft® Direct3D® could not allocate sufficient memory to complete the call.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center