BaseMesh.ConvertAdjacencyToPointReps(Int32[]) Method (Microsoft.DirectX.Direct3D)

Converts mesh adjacency information to an array of point representatives.

Definition

Visual Basic Public Function ConvertAdjacencyToPointReps( _
    ByVal adjaceny() As Integer _
) As Integer()
C# public int[] ConvertAdjacencyToPointReps(
    int[] adjaceny
);
C++ public:
array<int>^ ConvertAdjacencyToPointReps(
    array<int>^ adjaceny
);
JScript public function ConvertAdjacencyToPointReps(
    adjaceny : int[]
) : int[];

Parameters

adjaceny System.Int32[]
Array of three Int32Leave Site values per face, which specify the three neighbors for each face in the mesh.

Return Value

System.Int32[]
Array that contains one Int32Leave Site per vertex of the mesh that is filled with point representative data.

Remarks

Exceptions

InvalidCallException

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

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.

Applies To

Mesh, ProgressiveMesh

See Also