Abstract
Protected
_dirtyPrivate
Optional
_pickingProtected
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: IObject3D<IObject3DEvent<IObject3DEventTypes>, IObject3DEventTypes>Optional
options: SimplifyOptionsOptional
geometry: ValOrArr<IGeometry<NormalBufferAttributes>>Optional
options: SimplifyOptionsOptional
geometry: IGeometry<NormalBufferAttributes>Generated using TypeDoc
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.