from_mesh method

from_mesh

Create a TriMesh from given mesh object with given vertex layout.

Returns

def from_mesh(self, declaration, mesh):
    ...
ParameterTypeDescription
declarationaspose.threed.utilities.VertexDeclaration
meshMesh

from_mesh

Create a TriMesh from given mesh object, the vertex declaration are based on the input mesh’s structure.

Returns

The TriMesh generated from given Mesh

def from_mesh(self, mesh, use_float):
    ...
ParameterTypeDescription
meshMesh
use_floatboolUse float type instead of double type for each vertex element component.

See Also