Share via


ProgressiveMesh.Adjacency Property (Microsoft.DirectX.Direct3D)

Retrieves the face adjacency array of the mesh.

Definition

Visual Basic Public ReadOnly Property Adjacency As Integer()
C# public int[] Adjacency { get; }
C++ public:
property array<int>^ Adjacency {
        array<int>^ get();
}
JScript public function get Adjacency() : int[]

Property Value

System.Int32[]
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 outermost array is one set of face adjacencies per triangle in the mesh. If the edge has no adjacent faces, the value is 0xffffffff. The size of the adjacency array is the maximum number of faces multiplied by 3.

This property is read-only. 

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also