MeshContainer.SetAdjacency(GraphicsStream) Method (Microsoft.DirectX.Direct3D)
Sets the mesh adjacency information.
Visual Basic Public Sub SetAdjacency( _
ByVal adj As GraphicsStream _
C# public void SetAdjacency(
JScript public function SetAdjacency(
adj : GraphicsStream
A GraphicsStream object that represents 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.
Microsoft Direct3D could not allocate sufficient memory to complete the call.