Microsoft DirectX 9.0 SDK Update (October 2004)

ProgressiveMesh.Adjacency Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves the face adjacency array of the mesh.

Definition

Visual Basic .NET Public ReadOnly Property Adjacency As Integer()
C# public int[] Adjacency { get; }
Managed C++ public: __property int get_Adjacency();
JScript .NET 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


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center