pointerHover method

dynamic pointerHover(
  1. Pointer pointer
)

Implementation

pointerHover(Pointer pointer) {
  if (this.object == null || this.dragging == true) return;

  _raycaster.setFromCamera(Vector2(pointer.x, pointer.y), this.camera);

  var intersect = intersectObjectWithRay(
      this._gizmo.picker[this.mode], _raycaster, false);

  if (intersect != null && intersect != false) {
    this.axis = intersect.object.name;
  } else {
    this.axis = null;
  }
}