PositionPlanarGizmoHandler (object)

バージョン 1.12.0 で追加.

The PositionPlanarGizmoHandler converts mouse events into translation over the surface of a plane.

PositionPlanarGizmoHandler PositionPlanarGizmoHandler PositionPlanarGizmoHandler BaseGizmoHandler BaseGizmoHandler PositionPlanarGizmoHandler->BaseGizmoHandler GizmoHandler GizmoHandler BaseGizmoHandler->GizmoHandler

Members

Ref<InlineInstance> owner The instance that owns the handler. reference to the owner, which would cause a circular reference.
Color ownerColor The un-highlighted color of the owner
GizmoManipulationCallback callback The callback to be invoked when the gizmo is manipulated.
EvalContext evalContext The evaluation context provided when the handler was constructed. on the gizmo generates changes in the host DCC graph.
Vec3 manipulationPlane  
Boolean dragging  
Vec3 planePoint  
Vec3 planeNormal  
Vec3 hitPointStart  

Methods

  PositionPlanarGizmoHandler ( in InlineInstance owner, in Vec3 manipulationPlane, in GizmoManipulationCallback callback )
  PositionPlanarGizmoHandler ( in InlineInstance owner, in Vec3 manipulationPlane, in GizmoManipulationCallback callback, in EvalContext evalContext )
  PositionPlanarGizmoHandler ( in PositionPlanarGizmoHandler other )
  PositionPlanarGizmoHandler ()
PositionPlanarGizmoHandler clone ? ()
  onEvent ! ( io MouseEvent mouseEvent )

Methods in detail

PositionPlanarGizmoHandler ( in InlineInstance owner, in Vec3 manipulationPlane, in GizmoManipulationCallback callback )


PositionPlanarGizmoHandler ( in InlineInstance owner, in Vec3 manipulationPlane, in GizmoManipulationCallback callback, in EvalContext evalContext )


PositionPlanarGizmoHandler ( in PositionPlanarGizmoHandler other )

copy constructor


PositionPlanarGizmoHandler ()

default constructor


PositionPlanarGizmoHandler PositionPlanarGizmoHandler.clone? ()

clone method


PositionPlanarGizmoHandler.onEvent! ( io MouseEvent mouseEvent )

The method invoked when the gizmo is active.