UpdatePointHook: {
    index: number;
    newPosition: Vector3;
    oldPosition: Vector3;
    shape: entities.Shape;
}

Hook options for point update.

Type declaration

  • 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: entities.Shape

    The shape that triggered the hook.