SliderGizmoHandler (object)¶
バージョン 1.12.0 で追加.
The SliderGizmoHandler converts mouse events into and absolute translation along a predefined axis. The SliderGizmoHandler is intended to be used to compute the value of a slider.
Compared to the PositionAxisGizmoHandler that computes a relative translation, the SliderGizmoHandler generates an absolute value in the parent space of the owner InlineInstance.
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 | |
Xfo | spaceXfo | |
Vec2 | limits |
Methods¶
SliderGizmoHandler ( in InlineInstance owner, in Vec3 manipulationVector, in GizmoManipulationCallback callback, in Vec2 limits ) | |
SliderGizmoHandler ( in SliderGizmoHandler other ) | |
SliderGizmoHandler () | |
SliderGizmoHandler | clone ? () |
onEvent ! ( io MouseEvent mouseEvent ) |
Methods in detail¶
SliderGizmoHandler ( in InlineInstance owner, in Vec3 manipulationVector, in GizmoManipulationCallback callback, in Vec2 limits )
SliderGizmoHandler ( in SliderGizmoHandler other )
copy constructor
default constructor
SliderGizmoHandler SliderGizmoHandler.clone? ()
clone method
SliderGizmoHandler.onEvent! ( io MouseEvent mouseEvent )
The method invoked when the gizmo is active.