from_mesh method
Contents
[
Hide
]from_mesh
Create a TriMesh from given mesh object with given vertex layout.
Returns
Instance of TriMesh converted from input mesh with specified vertex’s memory layout
def from_mesh(self, declaration, mesh):
...
| Parameter | Type | Description |
|---|---|---|
| declaration | aspose.threed.utilities.VertexDeclaration | Vertex’s type definition, or memory layout |
| mesh | Mesh | Source 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