Skip to main content

Interface: SimplifyOptions

Plugins.SimplifyOptions

Properties

count

Optional count: number

Number of vertices to remove. Factor is not used when count is set.

Defined in

webgi/src/plugins/SimplifyModifierPlugin.ts:14


factor

Optional factor: number

Factor of vertices to remove. eg 0.5 will remove half of the vertices.

Defined in

webgi/src/plugins/SimplifyModifierPlugin.ts:18


replace

Optional replace: boolean

Replace the geometry with the simplified version in all meshes that use it.

Defined in

webgi/src/plugins/SimplifyModifierPlugin.ts:22


disposeOnReplace

Optional disposeOnReplace: boolean

Displace the simplified geometry in the scene. Only used when replace is true If set to true, the geometry will be disposed when replaced. Default is false. This will automatically be done when disposeOnIdle is not false in the geometry.userData.

Defined in

webgi/src/plugins/SimplifyModifierPlugin.ts:29