PositionAxisGizmoHandler (object)¶
バージョン 1.12.0 で追加.
The PositionAxisGizmoHandler converts mouse events into translation along a predefined axis.
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 | manipulationVector | |
Boolean | dragging | |
Vec3 | p1 | |
Vec3 | hitPointStart |
Methods¶
PositionAxisGizmoHandler ( in InlineInstance owner, in Vec3 manipulationVector, in GizmoManipulationCallback callback ) | |
PositionAxisGizmoHandler ( in InlineInstance owner, in Vec3 manipulationVector, in GizmoManipulationCallback callback, in EvalContext evalContext ) | |
PositionAxisGizmoHandler ( in PositionAxisGizmoHandler other ) | |
PositionAxisGizmoHandler () | |
PositionAxisGizmoHandler | clone ? () |
onEvent ! ( io MouseEvent mouseEvent ) |
Methods in detail¶
PositionAxisGizmoHandler ( in InlineInstance owner, in Vec3 manipulationVector, in GizmoManipulationCallback callback )
PositionAxisGizmoHandler ( in InlineInstance owner, in Vec3 manipulationVector, in GizmoManipulationCallback callback, in EvalContext evalContext )
PositionAxisGizmoHandler ( in PositionAxisGizmoHandler other )
copy constructor
default constructor
PositionAxisGizmoHandler PositionAxisGizmoHandler.clone? ()
clone method
PositionAxisGizmoHandler.onEvent! ( io MouseEvent mouseEvent )
The method invoked when the gizmo is active.