Protected_Protected Optional_Protected Optional_Protected Optional_Protected_ReadonlyrootFactor of vertices to remove. eg 0.5 will remove half of the vertices. Default is 0.5 This is used when no factor or count is provided in the options to simplifyGeometry or simplifyGeometries.
OptionaluiStatic Optional ReadonlyOldStatic ReadonlyPluginStaticSIMPLIFIER_Path to the meshopt simplifier library, default uses unpkg cdn
Protected_Protected_Sample for three.js addons SimplifyModifier:
import {SimplifyModifier} from 'three/examples/jsm/modifiers/SimplifyModifier' protected _simplify(geometry: IGeometry, count: number): IGeometry { const modifier = new SimplifyModifier() return modifier.modify(geometry, count) as IGeometry }
Protected_Optionalprefix: stringOptionalmeta: SerializationMetaTypeOptionalsetOptionalroot: IObject3D<Optionaloptions: SimplifyOptionsOptionalgeometry: ValOrArr<IGeometry<NormalBufferAttributes, BufferGeometryEventMap>>Optionaloptions: SimplifyOptionsOptionalgeometry: IGeometry<NormalBufferAttributes, BufferGeometryEventMap>
Simplify modifier using meshoptimizer library. Loads the library at runtime from a customisable cdn url.