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

    Interface UpdatePointHook

    Hook options for point update.

    interface UpdatePointHook {
        index: number;
        newPosition: Vector3;
        oldPosition: Vector3;
        shape: Shape;
    }
    Index

    Properties

    index: number

    The index of the updated point.

    newPosition: Vector3

    The new position of the updated point.

    oldPosition: Vector3

    The old position of the updated point.

    shape: Shape

    The shape that triggered the hook.