Abstract
Protected
_Protected
Optional
_Protected
_Factor 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
PluginProtected
_Protected
Abstract
_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>
Boilerplate for implementing a plugin for simplifying geometries. This is a base class and cannot be used directly. See MeshOptSimplifyModifierPlugin the simplify-modifier-plugin example for a sample implementation.