Protected
_Protected
Optional
_Protected
Optional
_Protected
Optional
_Protected
_Readonly
rootFactor 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.
Optional
uiStatic
Optional
Readonly
OldStatic
Readonly
PluginStatic
SIMPLIFIER_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
_Optional
prefix: stringOptional
meta: SerializationMetaTypeOptional
setOptional
root: IObject3D<Optional
options: SimplifyOptionsOptional
geometry: ValOrArr<IGeometry<NormalBufferAttributes, BufferGeometryEventMap>>Optional
options: SimplifyOptionsOptional
geometry: IGeometry<NormalBufferAttributes, BufferGeometryEventMap>
Simplify modifier using meshoptimizer library. Loads the library at runtime from a customisable cdn url.