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
collectionIntCollection
Returns
ToFloatArray(IList<double>?)
public static float[]? ToFloatArray(this IList<double>? collection)
Parameters
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
builderMeshBuilder
Returns
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
meshMeshGeometry3D
Returns
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
meshMeshGeometry3D