API (v2.0.0) - Giro3D
    Preparing search index...

    Type Alias PreHook<T>

    PreHook: (args: T) => boolean

    A hook that is triggered just before a modification of the shape's points. If the hook returns false, the operation is not performed.

    Type Parameters

    • T

      The argument type of the hook.

    Type Declaration

      • (args: T): boolean
      • Parameters

        • args: T

        Returns boolean