API

Interface ISubdivideOptions

Interface used to configure the subdivision process

interface ISubdivideOptions {
    flatOnly?: boolean;
    preserveEdges?: boolean;
    split?: boolean;
    uvSmooth?: boolean;
    weight?: number;
}
Index
flatOnly?: boolean

Apply only flat subdivision - false by default

preserveEdges?: boolean

Should edges / breaks in geometry be ignored during subdivision? - false by default

split?: boolean

Split all triangles at edges shared by coplanar triangles - true by default

uvSmooth?: boolean

Should UV values be averaged during subdivision - false by default

weight?: number

How much to weigh favoring heavy corners vs favoring Loop's formula - 1 by default