Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISimplifier

A simplifier interface for future simplification implementations

see

https://doc.babylonjs.com/how_to/in-browser_mesh_simplification

Hierarchy

  • ISimplifier

Implemented by

Index

Methods

Methods

simplifySearch playground for simplify

  • Simplification of a given mesh according to the given settings. Since this requires computation, it is assumed that the function runs async.

    Parameters

    • settings: ISimplificationSettings

      The settings of the simplification, including quality and distance

    • successCallback: (simplifiedMeshes: Mesh) => void

      A callback that will be called after the mesh was simplified.

        • (simplifiedMeshes: Mesh): void
        • Parameters

          • simplifiedMeshes: Mesh

          Returns void

    • Optional errorCallback: () => void

      in case of an error, this callback will be called. optional.

        • (): void
        • Returns void

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method