D3DXPMesh.GetAdjacency
Returns the face adjacency array of the mesh.
object.GetAdjacency( _
AdjacencyOut As Any
Parts
- object
- Object expression that resolves to a D3DXPMesh object.
- AdjacencyOut
- Returned face adjacency array of the mesh. The face adjacency is stored as an array of arrays. The innermost array is three indices of adjacent triangles, and the outer array is one set of face adjacency per triangle in the mesh. The size of the adjacency array is the maximum number of faces multiplied by 3.
Error Codes
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
See Also
D3DXPMesh.GetMaxFaces