TriMeshFromMesh Method (Mesh, Boolean)
Create a TriMesh from given mesh object, the vertex declaration are based on the input mesh's structure.

Namespace: Aspose.ThreeD.Entities
Assembly: Aspose.3D (in Aspose.3D.dll) Version: (21.5)
public static TriMesh FromMesh(
	Mesh mesh,
	bool useFloat = true


Type: Aspose.ThreeD.EntitiesMesh
useFloat (Optional)
Type: SystemBoolean
Use float type instead of double type for each vertex element component.

Return Value

Type: TriMesh
The TriMesh generated from given Mesh
See Also