Abstract
Protected
_dirtyProtected
Optional
_viewerProtected
_viewerFactor 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
_onProtected
Abstract
_simplifySample 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
_storeOptional
meta: SerializationMetaTypeOptional
setOptional
root: IObject3DOptional
options: SimplifyOptionsOptional
geometry: ValOrArr<IGeometry>Optional
options: SimplifyOptionsOptional
geometry: IGeometry
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.