PositionGizmoHandler (object)

バージョン 1.12.0 で追加.

The PositionGizmoHandler converts mouse events into translation in 3D.

PositionGizmoHandler PositionGizmoHandler PositionGizmoHandler BaseGizmoHandler BaseGizmoHandler PositionGizmoHandler->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.
Boolean dragging  
Vec3 p1  
Vec3 hitPointStart  

Methods in detail

PositionGizmoHandler ( in InlineInstance owner, in GizmoManipulationCallback callback )


PositionGizmoHandler ( in InlineInstance owner, in GizmoManipulationCallback callback, in EvalContext evalContext )


PositionGizmoHandler ( in PositionGizmoHandler other )

copy constructor


PositionGizmoHandler ()

default constructor


PositionGizmoHandler PositionGizmoHandler.clone? ()

clone method


PositionGizmoHandler.onEvent! ( io MouseEvent mouseEvent )

The method invoked when the gizmo is active.