from_mesh method
from_mesh
Create a TriMesh from given mesh object with given vertex layout.
Returns
def from_mesh(self, declaration, mesh):
...
Parameter | Type | Description |
---|---|---|
declaration | aspose.threed.utilities.VertexDeclaration | |
mesh | Mesh |
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):
...
Parameter | Type | Description |
---|---|---|
mesh | Mesh | |
use_float | bool | Use float type instead of double type for each vertex element component. |
See Also
- module
aspose.threed.entities
- class
Mesh
- class
TriMesh