PolygonModifier class

PolygonModifier class

Utilities to modify polygons

The PolygonModifier type exposes the following members:

Methods

MethodDescription
triangulateConvert all polygon-based meshes into full triangle mesh
triangulateConvert a polygon-based mesh into full triangle mesh
triangulate
triangulate
triangulate
triangulate
merge_meshConvert a whole scene to a single transformed mesh
Vertex elements like normal/texture coordinates are not supported yet
merge_mesh
merge_meshConvert a whole node to a single transformed mesh
Vertex elements like normal/texture coordinates are not supported yet
scaleScale all geometries(Scale the control points not the transformation matrix) in this scene
scaleScale all geometries(Scale the control points not the transformation matrix) in this node
generate_uvGenerate UV data from the given input mesh and specified normal data.
generate_uvGenerate UV data from the given input mesh
split_meshSplit mesh into sub-meshes by VertexElementMaterial.
Each sub-mesh will use only one material.
Perform mesh splitting on a node
split_meshSplit mesh into sub-meshes by VertexElementMaterial.
Each sub-mesh will use only one material.
Perform mesh splitting on all nodes of the scene.
split_meshSplit mesh into sub-meshes by VertexElementMaterial.
Each sub-mesh will use only one material.
The original mesh will not get changed.
build_tangent_binormalThis will create tangent and binormal on all meshes of the scene
Normal is required, if normal is not existing on the mesh, it will also create the normal data from position.
UV is also required, the mesh will be ignored if no UV is defined.
build_tangent_binormalThis will create tangent and binormal on the mesh
Normal is required, if normal is not existing on the mesh, it will also create the normal data from position.
UV is also required, an exception will be raised if no UV found.
generate_normalGenerate normal data from Mesh definition

See Also