GizmoHandler (interface)

バージョン 1.12.0 で追加.

Objects supporting the GizmoHandler interface are added as metadata to InlineInstance objects to indicate that they can be treated as Gizmos.

The GizmoHandler onEvent method is invoked by the GizmoManipulator when that associated InlineInstance has become the active gizmo.

GizmoHandler GizmoHandler GizmoHandler BaseGizmoHandler BaseGizmoHandler BaseGizmoHandler->GizmoHandler OrientationAxisGizmoHandler OrientationAxisGizmoHandler OrientationAxisGizmoHandler->BaseGizmoHandler OrientationSphericalGizmoHandler OrientationSphericalGizmoHandler OrientationSphericalGizmoHandler->BaseGizmoHandler PositionAxisGizmoHandler PositionAxisGizmoHandler PositionAxisGizmoHandler->BaseGizmoHandler PositionGizmoHandler PositionGizmoHandler PositionGizmoHandler->BaseGizmoHandler PositionPlanarGizmoHandler PositionPlanarGizmoHandler PositionPlanarGizmoHandler->BaseGizmoHandler SliderGizmoHandler SliderGizmoHandler SliderGizmoHandler->BaseGizmoHandler

Functions

  highlight ! ( in Boolean display )
  onEvent ! ( io MouseEvent mouseEvent )

Functions in detail

GizmoHandler.highlight! ( in Boolean display )

highlight the gizmo, indicating that it is under the mouse.


GizmoHandler.onEvent! ( io MouseEvent mouseEvent )

The method invoked when the gizmo becomes the active gizmo in the GizmoManipulator