ISimplifier

A simplifier interface for future simplification implementations.

Hierarchy

  • ISimplifier

Implemented by

Index

Methods

Methods

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: function

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

        • (simplifiedMeshes: Mesh): void
        • Parameters

          • simplifiedMeshes: Mesh

          Returns void

    • Optional errorCallback: function

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

        • (): void
        • Returns void

    Returns void

Generated using TypeDoc