Mesh::CopyMesh
Defined in:
Copies the contents of a mesh.
C4Mesh.h
Prototype
void CopyMesh(const Mesh *inputMesh, uint32 exclusionMask = 0);
Parameters
inputMesh |
The input mesh. |
exclusionMask |
A bit mask indicating which arrays should be excluded from the copy. |
Description
The CopyMesh
function copies the contents of the mesh specified by the inputMesh
parameter to the mesh for which this function is called (the output mesh). The previous contents of the output mesh are deleted.If the
exclusionMask
parameter is not zero, then the position of the set bits correspond to the indexes of arrays that are excluded from the copy. For example, to prevent the tangent array from being copied, the exclusionMask
parameter should be 1 << kArrayTangent
.
See Also