Mesh constructor
init
Initializes a new instance of the Mesh
class.
def __init__(self):
...
init
Construct a mesh using specified height map, if the height map’s pixel format contains multiple components, the first(usually the red) component will be used as the height value(z) The control point’s x and y components are normalized pixel coordinate.
def __init__(self, height_map):
...
Parameter | Type | Description |
---|---|---|
height_map | aspose.threed.render.TextureData | Input height map |
init
Initializes a new instance of the Mesh
class.
def __init__(self, name):
...
Parameter | Type | Description |
---|---|---|
name | str | Name. |
init
Construct a mesh using specified height map, if the height map’s pixel format contains multiple components, the first(usually the red) component will be used as the height value(z) The control point’s x and y components are normalized pixel coordinate.
def __init__(self, height_map, transform):
...
Parameter | Type | Description |
---|---|---|
height_map | aspose.threed.render.TextureData | Input height map |
transform | aspose.threed.utilities.Matrix4 | The transform that applied on the control points |
init
Construct a mesh using specified height map, if the height map’s pixel format contains multiple components, the first(usually the red) component will be used as the height value(z) The control point’s x and y components are normalized pixel coordinate.
def __init__(self, height_map, tri_mesh, transform):
...
Parameter | Type | Description |
---|---|---|
height_map | aspose.threed.render.TextureData | Input height map |
tri_mesh | bool | |
transform | aspose.threed.utilities.Matrix4 | The transform that applied on the control points |
See Also
- module
aspose.threed.entities
- class
Mesh