Compartir a través de


BaseMesh.ConvertAdjacencyToPointReps Method

Converts mesh adjacency information to an array of point representatives.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Function ConvertAdjacencyToPointReps ( _
    adjacency As Integer() _
) As Integer()
'Usage
Dim instance As BaseMesh
Dim adjacency As Integer()
Dim returnValue As Integer()

returnValue = instance.ConvertAdjacencyToPointReps(adjacency)
public int[] ConvertAdjacencyToPointReps (
    int[] adjacency
)
public:
array<int>^ ConvertAdjacencyToPointReps (
    array<int>^ adjacency
)
public int[] ConvertAdjacencyToPointReps (
    int[] adjacency
)
public function ConvertAdjacencyToPointReps (
    adjacency : int[]
) : int[]
Not applicable.

Parameters

  • adjacency
    A GraphicsStream that contains three integer values per face, which specify the three neighbors for each face in the mesh.

Return Value

A GraphicsStream that contains three Int32 values per face, which specify the three neighbors for each face in the mesh.

Exceptions

Exception type Condition

InvalidCallException

The call is invalid, such as an invalid method parameter.

OutOfMemoryException

Insufficient memory to complete the call.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

BaseMesh Class
BaseMesh Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace