Freigeben über


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[]

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.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

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