Table of Contents

Class Converter

Namespace
HelixToolkit.SharpDX
Assembly
HelixToolkit.SharpDX.dll
public static class Converter
Inheritance
Converter
Inherited Members

Methods

ToCollection(IntCollection)

public static IList<int>? ToCollection(this IntCollection collection)

Parameters

collection IntCollection

Returns

IList<int>

ToFloatArray(IList<double>?)

public static float[]? ToFloatArray(this IList<double>? collection)

Parameters

collection IList<double>

Returns

float[]

ToMeshGeometry3D(MeshBuilder)

Converts the geometry to a MeshGeometry3D. Equivalent to MeshBuilder.ToMesh().ToMeshGeometry3D(). All internal mesh builder data are directly assigned to the MeshGeometry3D without copying. User must call Reset() to reset and reuse the mesh builder object to create new meshes.

public static MeshGeometry3D ToMeshGeometry3D(this MeshBuilder builder)

Parameters

builder MeshBuilder

Returns

MeshGeometry3D

ToMeshGeometry3D(MeshGeometry3D)

Converts the MeshGeometry3D to a MeshGeometry3D. All internal mesh builder data are directly assigned to the MeshGeometry3D without copying.

public static MeshGeometry3D ToMeshGeometry3D(this MeshGeometry3D mesh)

Parameters

mesh MeshGeometry3D

Returns

MeshGeometry3D

ToWndMeshGeometry3D(MeshGeometry3D)

Converts the MeshGeometry3D to a MeshGeometry3D. All internal mesh builder data are directly assigned to the MeshGeometry3D without copying.

public static MeshGeometry3D ToWndMeshGeometry3D(this MeshGeometry3D mesh)

Parameters

mesh MeshGeometry3D

Returns

MeshGeometry3D