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):
    ...
ParameterTypeDescription
height_mapaspose.threed.render.TextureDataInput height map

init

Initializes a new instance of the Mesh class.

def __init__(self, name):
    ...
ParameterTypeDescription
namestrName.

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):
    ...
ParameterTypeDescription
height_mapaspose.threed.render.TextureDataInput height map
transformaspose.threed.utilities.Matrix4The 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):
    ...
ParameterTypeDescription
height_mapaspose.threed.render.TextureDataInput height map
tri_meshbool
transformaspose.threed.utilities.Matrix4The transform that applied on the control points

See Also