API

Interface IMeshRebuildOptions

Interface to customize the mesh rebuild options

interface IMeshRebuildOptions {
    centerMesh?: boolean;
    materialToUse?: any;
    rebuildNormals?: boolean;
}
Index
centerMesh?: boolean

True to center the mesh on 0,0,0

materialToUse?: any

Defines a material to use for that mesh. When not defined the system will either reuse the one from the source or create a multimaterial if several materials were involved

rebuildNormals?: boolean

Rebuild normals