TransformManipulationCallback (object)

バージョン 1.12.0 で追加.

The TransformManipulationCallback supporting the GizmoManipulationCallback interface is used to apply gizmo manipulation directly to InlineInstances from InlineDrawing.

TransformManipulationCallback TransformManipulationCallback TransformManipulationCallback GizmoManipulationCallback GizmoManipulationCallback TransformManipulationCallback->GizmoManipulationCallback

Members

Ref<InlineTransform>[] targets  
TransformManipulationCommand command  
String graphName  
String portToDrive  

Methods

  TransformManipulationCallback ( in TransformManipulationCallback other )
  TransformManipulationCallback ()
  addTarget ! ( io InlineTransform target )
TransformManipulationCallback clone ? ()
  onDrag ! ( io MouseEvent mouseEvent, in Xfo space, in Xfo delta, in UInt32 flags )
  onDragBegin ! ( io MouseEvent mouseEvent )
  onDragEnd ! ( io MouseEvent mouseEvent )
  setGraph ! ( in String graphName )
  setPortToDrive ! ( in String portToDrive )
  setTargets ! ( in Ref<InlineTransform> targets[] )

Methods in detail

TransformManipulationCallback ( in TransformManipulationCallback other )

copy constructor


TransformManipulationCallback ()

default constructor


TransformManipulationCallback.addTarget! ( io InlineTransform target )


TransformManipulationCallback TransformManipulationCallback.clone? ()

clone method


TransformManipulationCallback.onDrag! ( io MouseEvent mouseEvent, in Xfo space, in Xfo delta, in UInt32 flags )

Invoked during a drag on a gizmo.

mouseEvent The mouse move events received between onDragBegin and onDragEnd
space The coordinate space defined by the gizmo that was used to compute the delta.
delta The delta in the coordinate space provided
flags flags used to filter the element of the transform being modified.


TransformManipulationCallback.onDragBegin! ( io MouseEvent mouseEvent )

Invoked by the GizmoHandler when the mouse drag is starting

mouseEvent The event passed in is the mouse down event.


TransformManipulationCallback.onDragEnd! ( io MouseEvent mouseEvent )

Invoked by the GizmoHandler when the mouse drag is ending

mouseEvent The event passed in is the mouse up event.


TransformManipulationCallback.setGraph! ( in String graphName )


TransformManipulationCallback.setPortToDrive! ( in String portToDrive )


TransformManipulationCallback.setTargets! ( in Ref<InlineTransform> targets[] )