Interface SimplifyOptions

interface SimplifyOptions {
    count?: number;
    disposeOnReplace?: boolean;
    factor?: number;
    replace?: boolean;
}

Properties

count?: number

Number of vertices to remove. Factor is not used when count is set.

disposeOnReplace?: boolean

Displace the simplified geometry in the scene. Only used when replace is true If set to true, the geometry will be disposed when replaced. Default is false. This will automatically be done when disposeOnIdle is not false in the geometry.userData.

factor?: number

Factor of vertices to remove. eg 0.5 will remove half of the vertices.

replace?: boolean

Replace the geometry with the simplified version in all meshes that use it.

Generated using TypeDoc