BaseMesh.ConvertPointRepsToAdjacency Method
Converts point representative data to mesh adjacency information.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
Syntax
'Declaration
Public Function ConvertPointRepsToAdjacency ( _
pointReps As Integer() _
) As Integer()
'Usage
Dim instance As BaseMesh
Dim pointReps As Integer()
Dim returnValue As Integer()
returnValue = instance.ConvertPointRepsToAdjacency(pointReps)
public int[] ConvertPointRepsToAdjacency(
int[] pointReps
)
public:
array<int>^ ConvertPointRepsToAdjacency(
array<int>^ pointReps
)
public function ConvertPointRepsToAdjacency(
pointReps : int[]
) : int[]
Parameters
pointReps
Type: array<System.Int32[]Array that contains one integer per vertex of the mesh that contains point representative data. This parameter is optional; supplying a value of 0 causes it to be interpreted as an "identity" array.
Return Value
Type: array<System.Int32[]
Array of three integer values per face, which specify the three neighbors for each face in the mesh.
Exceptions
Exception | Condition |
---|---|
InvalidCallException | The call is invalid, such as an invalid method parameter. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5, 2.0